Skip to content

Commit 4cb6f46

Browse files
committed
add mock version to custom image
1 parent 720b2a2 commit 4cb6f46

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,9 @@ RUN curl -L https://github.com/pluralsh/plural-cli/releases/download/${CLI_VERSI
1313

1414
FROM quay.io/kairos/alpine:3.19-standard-arm64-rpi3-v3.2.3-k3sv1.31.2-k3s1
1515

16+
ARG IMAGE_VERSION=0.0.0
17+
1618
COPY --from=tools /usr/local/bin/plural /usr/local/bin/plural
19+
20+
RUN export VERSION="${IMAGE_VERSION}"
21+
RUN envsubst '${VERSION}' </etc/os-release

0 commit comments

Comments
 (0)