mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-03-01 08:41:10 +01:00
Merge branch 'feature/KASM-6894-remove-webpack-to-reduce-vulnerabilities' into 'master'
Resolve KASM-6894 "Feature/ remove webpack to reduce vulnerabilities" Closes KASM-6894 See merge request kasm-technologies/internal/KasmVNC!162
This commit is contained in:
commit
3e979c51f7
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,4 +1,4 @@
|
||||
[submodule "kasmweb"]
|
||||
path = kasmweb
|
||||
url = https://github.com/kasmtech/noVNC.git
|
||||
branch = release/1.2.2
|
||||
branch = master
|
||||
|
@ -1,18 +1,10 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# clear previous build
|
||||
rm -rf /build/*
|
||||
|
||||
# build webpack
|
||||
npm run build
|
||||
# remove node stuff from directory
|
||||
rm -rf node_modules/
|
||||
# copy all to build dir
|
||||
cp -R ./* /build/
|
||||
|
||||
# remove unneccesary files
|
||||
cd /build
|
||||
rm *.md
|
||||
rm AUTHORS
|
||||
rm vnc.html
|
||||
ln -s index.html vnc.html
|
||||
# copy all to build dir
|
||||
cp -R ./dist/* /build/
|
||||
|
@ -1,6 +1,8 @@
|
||||
FROM node:12-buster
|
||||
FROM alpine
|
||||
|
||||
COPY kasmweb/ /src/www/
|
||||
RUN apk add npm nodejs
|
||||
|
||||
COPY kasmweb/ /src/www
|
||||
COPY builder/build_www.sh /src/
|
||||
|
||||
WORKDIR /src/www
|
||||
|
2
kasmweb
2
kasmweb
@ -1 +1 @@
|
||||
Subproject commit bce2d6a7048025c6e6c05df9d98b206c23f6dbab
|
||||
Subproject commit 5c46b2e13ab1dd7232b28f017fd7e49ca740f5a4
|
Loading…
Reference in New Issue
Block a user