squishes comitium RUN commands into one to reduce image size

This commit is contained in:
2026-06-18 21:13:17 +01:00
parent 41f140b847
commit dfaf51431f
+2 -2
View File
@@ -1,6 +1,6 @@
FROM alpine:3.23 FROM alpine:3.23
RUN apk --no-cache add make go scdoc 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 \ && wget -O - https://git.sr.ht/~nytpu/comitium/archive/v1.8.2.tar.gz | tar -xz \
&& make --directory=comitium-v1.8.2 \ && make --directory=comitium-v1.8.2 \
&& mv comitium-v1.8.2/build/comitium /usr/local/bin/comitium \ && mv comitium-v1.8.2/build/comitium /usr/local/bin/comitium \
&& apk del make go scdoc \ && apk del make go scdoc \