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 \ RUN apk --no-cache add rust cargo \
&& wget -O - https://github.com/mbrubeck/agate/archive/refs/tags/v3.3.20.tar.gz | tar -xz \ && wget -O - https://github.com/mbrubeck/agate/archive/refs/tags/v${VERSION}.tar.gz | tar -xz \
&& cargo install --path agate-3.3.20/ \ && cargo install --path agate-${VERSION}/ \
&& apk del rust cargo \ && 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
+1
View File
@@ -0,0 +1 @@
3.23
+7 -5
View File
@@ -1,7 +1,9 @@
FROM alpine:3.23 ARG ALPINE_VERSION
FROM docker.io/alpine:${ALPINE_VERSION}
ARG VERSION
RUN apk --no-cache add make go scdoc \ RUN apk --no-cache add make go scdoc \
&& wget -O - https://git.sr.ht/~nytpu/comitium/archive/v1.8.2.tar.gz | tar -xz \ && wget -O - https://git.sr.ht/~nytpu/comitium/archive/v${VERSION}.tar.gz | tar -xz \
&& make --directory=comitium-v1.8.2 \ && make --directory=comitium-v${VERSION} \
&& mv comitium-v1.8.2/build/comitium /usr/local/bin/comitium \ && mv comitium-v${VERSION}/build/comitium /usr/local/bin/comitium \
&& apk del make go scdoc \ && apk del make go scdoc \
&& rm -rf comitium-v1.8.2 && rm -rf comitium-v${VERSION}
+1
View File
@@ -0,0 +1 @@
1.8.2