diff --git a/Dockerfile b/Dockerfile index a84fd26b..663025d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ -FROM ubuntu:18.04 +FROM adoptopenjdk:8-jre-hotspot LABEL org.opencontainers.image.authors="Geoff Bourne " RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive \ apt-get install -y \ - openjdk-8-jre-headless \ imagemagick \ gosu \ sudo \ diff --git a/start-configuration b/start-configuration index 9f5a718b..12b23aff 100644 --- a/start-configuration +++ b/start-configuration @@ -56,7 +56,7 @@ fi if ! which java > /dev/null; then log "Fixing PATH to include java" - PATH="${PATH}:/usr/bin" + PATH="${PATH}:/opt/java/openjdk/bin" fi export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json