Compare commits

...

3 Commits

Author SHA1 Message Date
joeac 9c35d7b3ad squishes agate build into one RUN command 2026-06-19 14:20:53 +01:00
joeac dfaf51431f squishes comitium RUN commands into one to reduce image size 2026-06-18 21:13:17 +01:00
joeac 41f140b847 no need for AS 2026-06-18 21:11:38 +01:00
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
FROM docker.io/library/alpine:3.23 AS agate
RUN apk --no-cache add rust cargo
RUN wget -O - https://github.com/mbrubeck/agate/archive/refs/tags/v3.3.20.tar.gz | tar -xz \
FROM docker.io/library/alpine:3.23
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/ \
&& apk del rust cargo \
&& rm -rf agate-3.3.20 agate-target
+3 -3
View File
@@ -1,6 +1,6 @@
FROM alpine:3.23 AS comitium
RUN apk --no-cache add make go scdoc
RUN wget -O - https://git.sr.ht/~nytpu/comitium/archive/v1.8.2.tar.gz | tar -xz \
FROM alpine:3.23
RUN apk --no-cache add make go scdoc \
&& wget -O - https://git.sr.ht/~nytpu/comitium/archive/v1.8.2.tar.gz | tar -xz \
&& make --directory=comitium-v1.8.2 \
&& mv comitium-v1.8.2/build/comitium /usr/local/bin/comitium \
&& apk del make go scdoc \