Skip to content

Commit

Permalink
Use headless JRE to fix security vuln (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
emre-aydin authored Mar 15, 2021
1 parent 97248f1 commit f83fbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ENV MC_HTTP_PORT=8080 \
USER_UID=10001

RUN echo "Installing new APK packages" \
&& apk add --no-cache openjdk11-jre bash \
&& apk add --no-cache openjdk11-jre-headless bash \
&& mkdir -p ${MC_HOME} ${MC_DATA} \
&& chmod a+rwx ${MC_HOME} ${MC_DATA}

Expand Down

0 comments on commit f83fbcd

Please sign in to comment.