Browse Source

add wrapper script

pull/1/head v20.6.30-1
Robert Kaussow 2 years ago
parent
commit
73c1f1ceb1
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
  1. 4
      Dockerfile
  2. 4
      overlay/bin/vnu

4
Dockerfile

@ -9,6 +9,8 @@ LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
ARG BUILD_VERSION
ENV VALIDATOR_VERSION="${BUILD_VERSION:-20.6.30}"
ADD overlay/ /
RUN apk add --update --no-cache --virtual .build-deps libarchive-tools curl && \
apk --update add openjdk8 && \
mkdir -p /var/www/app && \
@ -25,4 +27,4 @@ WORKDIR /var/www/app
USER root
CMD []
ENTRYPOINT ["java", "-jar", "/var/www/app/vnu.jar"]
ENTRYPOINT ["/bin/vnu"]

4
overlay/bin/vnu

@ -0,0 +1,4 @@
#!/usr/bin/env sh
set -eo pipefail
exec java -jar /var/www/app/vnu.jar "$@"
Loading…
Cancel
Save