diff --git a/build-images.sh b/build-images.sh index 1138fef..c9fa643 100755 --- a/build-images.sh +++ b/build-images.sh @@ -35,6 +35,13 @@ buildah run \ adduser -Ss /bin/false -g webssh webssh && \ chown -R webssh:webssh /code " +# disable built-in ui +buildah add "${webssh}" ../../webssh/index.html /code/webssh/templates/index.html +# cleanup the container +buildah run \ + --workingdir '/code' \ + ${webssh} \ + sh -c 'rm -rf preview docker-compose.yml setup.* tests' popd popd rm -rf webssh_tmp diff --git a/webssh/index.html b/webssh/index.html new file mode 100644 index 0000000..f0808c3 --- /dev/null +++ b/webssh/index.html @@ -0,0 +1,17 @@ + + +
+ +