Merge pull request #13 from Exonical/java

Fix Maintainer Deprecation
This commit is contained in:
Michael (Parker) Parker 2018-07-13 18:51:41 -04:00 committed by GitHub
commit d436f347bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,18 +3,18 @@
# Environment: Java # Environment: Java
# Minimum Panel Version: 0.6.0 # Minimum Panel Version: 0.6.0
# ---------------------------------- # ----------------------------------
FROM openjdk:8-jdk-alpine FROM openjdk:8-jdk-alpine
MAINTAINER Pterodactyl Software, <support@pterodactyl.io> LABEL author="Pterodactyl Software" maintainer="support@pterodactyl.io"
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite \ RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite \
&& adduser -D -h /home/container container && adduser -D -h /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"] CMD ["/bin/bash", "/entrypoint.sh"]