Added configureable base image to minecraft containers
This commit is contained in:
parent
cc754571de
commit
6902926bc9
9 changed files with 37 additions and 7 deletions
|
|
@ -1,4 +1,8 @@
|
|||
FROM openjdk:8-jre-slim
|
||||
ARG BASE_IMAGE
|
||||
|
||||
# We use ${:-} instead of a default value because the argument is always passed
|
||||
# to the build, it'll just be blank most likely
|
||||
FROM ${BASE_IMAGE:-'openjdk:8-jre-slim'}
|
||||
|
||||
# Build arguments
|
||||
ARG MC_VERSION
|
||||
|
|
|
|||
Reference in a new issue