fix garage dockerfile: use alpine base with envsubst
Deploy garage / deploy (push) Failing after 7s

This commit is contained in:
2026-03-19 12:14:38 -04:00
parent 3478e05c49
commit 82582028a2
+3 -2
View File
@@ -1,7 +1,8 @@
FROM dxflrs/garage:v1.0.1 FROM alpine:3.21 AS base
RUN apk add --no-cache gettext RUN apk add --no-cache gettext
FROM base
COPY --from=dxflrs/garage:v1.0.1 /garage /garage
COPY garage.toml /etc/garage.toml.tpl COPY garage.toml /etc/garage.toml.tpl
CMD envsubst < /etc/garage.toml.tpl > /etc/garage.toml && exec /garage server CMD envsubst < /etc/garage.toml.tpl > /etc/garage.toml && exec /garage server