add wrapper script
This commit is contained in:
parent
267c6f9477
commit
73c1f1ceb1
@ -9,6 +9,8 @@ LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
|
|||||||
ARG BUILD_VERSION
|
ARG BUILD_VERSION
|
||||||
ENV VALIDATOR_VERSION="${BUILD_VERSION:-20.6.30}"
|
ENV VALIDATOR_VERSION="${BUILD_VERSION:-20.6.30}"
|
||||||
|
|
||||||
|
ADD overlay/ /
|
||||||
|
|
||||||
RUN apk add --update --no-cache --virtual .build-deps libarchive-tools curl && \
|
RUN apk add --update --no-cache --virtual .build-deps libarchive-tools curl && \
|
||||||
apk --update add openjdk8 && \
|
apk --update add openjdk8 && \
|
||||||
mkdir -p /var/www/app && \
|
mkdir -p /var/www/app && \
|
||||||
@ -25,4 +27,4 @@ WORKDIR /var/www/app
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
CMD []
|
CMD []
|
||||||
ENTRYPOINT ["java", "-jar", "/var/www/app/vnu.jar"]
|
ENTRYPOINT ["/bin/vnu"]
|
||||||
|
4
overlay/bin/vnu
Executable file
4
overlay/bin/vnu
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
exec java -jar /var/www/app/vnu.jar "$@"
|
Reference in New Issue
Block a user