From e889d3e0598108ea3fbfcf52e403be6c3d512f8b Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 7 Jul 2019 15:23:30 +0200 Subject: [PATCH] change Dockerfile to use the official openjdk image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5818418..2cbbb89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM debian:jessie +FROM openjdk:11-jre MAINTAINER Chris EXPOSE 8123 EXPOSE 25565 EXPOSE 25565/udp ENV \ - DEPENDENCIES="openjdk-7-jre-headless git wget tar" + DEPENDENCIES="git wget tar" RUN \ apt-get update &&\ @@ -15,7 +15,7 @@ RUN \ WORKDIR /usr/games VOLUME ["/usr/games/mcserv"] RUN \ - chown -R games: . &&\ + chown games: /usr/games /usr/games/mcserv &&\ chmod 775 mcserv USER games