diff --git a/.github/workflows/build-multiarch.yml b/.github/workflows/build.yml similarity index 100% rename from .github/workflows/build-multiarch.yml rename to .github/workflows/build.yml diff --git a/Dockerfile b/Dockerfile index 20afc124..3adc3977 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \ --var version=${MC_SERVER_RUNNER_VERSION} --var app=mc-server-runner --file {{.app}} \ --from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz -ARG MC_HELPER_VERSION=1.52.0 +ARG MC_HELPER_VERSION=1.52.1 ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION} # used for cache busting local copy of mc-image-helper ARG MC_HELPER_REV=1 diff --git a/scripts/start-configuration b/scripts/start-configuration index 1b7e7a6a..bcdc92b6 100755 --- a/scripts/start-configuration +++ b/scripts/start-configuration @@ -28,7 +28,11 @@ shopt -s nullglob isDebugging && set -x -#umask 002 +if (( $(mc-image-helper java-release) >= 17 )); then + MC_IMAGE_HELPER_OPTS+=" --enable-native-access=ALL-UNNAMED" + export MC_IMAGE_HELPER_OPTS +fi + export HOME=/data log "Running as uid=$(id -u) gid=$(id -g) with /data as '$(ls -lnd /data)'"