8000 Merge pull request #82 from sir-gon/renovate/ubuntu-24.x · sir-gon/algorithm-exercises-cpp@a64aeb0 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a64aeb0

Browse files
authored
Merge pull request #82 from sir-gon/renovate/ubuntu-24.x
[Docker] Parametric base image version.
2 parents 9cb7ae4 + 08b082e commit a64aeb0

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)
0