diff --git a/Dockerfile b/Dockerfile index 227cd3e..b170f88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -87,4 +87,8 @@ RUN rm -rf /opt/jre/lib/plugin.jar \ /opt/jre/lib/amd64/libjavafx*.so \ /opt/jre/lib/amd64/libjfx*.so &&\ rm -rf /var/cache/apk/* + WORKDIR / +COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..cc97fa4 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh +. /root/.bashrc +exec "$@"