Skip to content

Commit 463164d

Browse files
committed
parameterized Ubuntu version
1 parent 1240a23 commit 463164d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
# Ubuntu version
2+
ARG RELEASE=24.04
3+
14
# Build stage
2-
FROM ubuntu:24.04 as builder
5+
FROM ubuntu:${RELEASE} as builder
36

47

58
# Build-time variables
@@ -126,7 +129,7 @@ RUN cd /tmp && \
126129
127130
128131
# Final stage
129-
FROM ubuntu:24.04
132+
FROM ubuntu:${RELEASE}
130133
LABEL maintainer="[email protected]"
131134
ARG DEBIAN_FRONTEND=noninteractive
132135

0 commit comments

Comments
 (0)