ViViV_
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
19 additions and
0 deletions
-
dockerfile
|
|
|
@ -0,0 +1,19 @@ |
|
|
|
FROM openjdk:8-jdk-alpine |
|
|
|
|
|
|
|
LABEL author="ViViV_" maintainer="sysadmin@whiteshield.ch" |
|
|
|
|
|
|
|
EXPOSE 6567/TCP |
|
|
|
EXPOSE 6567/UDP |
|
|
|
|
|
|
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite \ |
|
|
|
&& adduser -D -h /home/container container |
|
|
|
|
|
|
|
ADD . /home/container/ |
|
|
|
USER container |
|
|
|
ENV USER=container HOME=/home/container |
|
|
|
|
|
|
|
WORKDIR /home/container |
|
|
|
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh |
|
|
|
|
|
|
|
CMD ["/bin/bash", "/entrypoint.sh"] |