arg-ifies versions

This commit is contained in:
2026-06-22 08:01:40 +01:00
parent 9c35d7b3ad
commit 37ee7cdc68
5 changed files with 16 additions and 9 deletions
+6 -4
View File
@@ -1,6 +1,8 @@
FROM docker.io/library/alpine:3.23
ARG ALPINE_VERSION
FROM docker.io/alpine:${ALPINE_VERSION}
ARG VERSION
RUN apk --no-cache add rust cargo \
&& wget -O - https://github.com/mbrubeck/agate/archive/refs/tags/v3.3.20.tar.gz | tar -xz \
&& cargo install --path agate-3.3.20/ \
&& wget -O - https://github.com/mbrubeck/agate/archive/refs/tags/v${VERSION}.tar.gz | tar -xz \
&& cargo install --path agate-${VERSION}/ \
&& apk del rust cargo \
&& rm -rf agate-3.3.20 agate-target
&& rm -rf agate-${VERSION} agate-target
+1
View File
@@ -0,0 +1 @@
3.3.20