Skip to content

Commit de5bd42

Browse files
committed
make base image available as build argument
1 parent c9eca46 commit de5bd42

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
#
33
# initially based on https://github.com/jurrian/existdb-alpine
44

5-
FROM eclipse-temurin:17-jre
5+
# make base image available as build argument
6+
# to allow for different JRE versions
7+
ARG BASE_IMAGE=eclipse-temurin:17-jre
8+
9+
FROM ${BASE_IMAGE}
610
LABEL org.opencontainers.image.authors="Peter Stadler"
711
LABEL org.opencontainers.image.source="https://github.com/peterstadler/existdb-docker"
812

0 commit comments

Comments
 (0)