Skip to content

Commit 08b082e

Browse files
author
Gonzalo Diaz
committed
[Docker] Parametric base image version.
1 parent 9cb7ae4 commit 08b082e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ubuntu:noble-20250415.1 AS init
1+
ARG BASE_IMAGE_VERSION=ubuntu:noble-20250415.1
2+
FROM ${BASE_IMAGE_VERSION} AS init
23

34
ENV WORKDIR=/app
45
WORKDIR ${WORKDIR}
@@ -111,7 +112,7 @@ COPY --from=builder ${WORKDIR}/build ${WORKDIR}/
111112

112113
CMD ["make", "test"]
113114

114-
FROM ubuntu:noble-20250415.1 AS production
115+
FROM ${BASE_IMAGE_VERSION} AS production
115116

116117
ENV LOG_LEVEL=INFO
117118
ENV BRUTEFORCE=false

0 commit comments

Comments
 (0)