fix: remove libgcc dependency in ci builds since the binary is ensured to be statically compiled

This commit is contained in:
Maxim De Clercq 2022-01-23 18:09:14 +01:00
parent c2ad2b3dd7
commit c7560b3502
No known key found for this signature in database
GPG key ID: D35643779C52BA70

View file

@ -9,6 +9,7 @@
FROM docker.io/alpine:3.15.0 AS runner FROM docker.io/alpine:3.15.0 AS runner
# Standard port on which Conduit launches. # Standard port on which Conduit launches.
# You still need to map the port when using the docker command or docker-compose. # You still need to map the port when using the docker command or docker-compose.
EXPOSE 6167 EXPOSE 6167
@ -18,10 +19,8 @@ ENV CONDUIT_CONFIG="/srv/conduit/conduit.toml"
# Conduit needs: # Conduit needs:
# ca-certificates: for https # ca-certificates: for https
# libgcc: Apparently this is needed, even if I (@jfowl) don't know exactly why. But whatever, it's not that big.
RUN apk add --no-cache \ RUN apk add --no-cache \
ca-certificates \ ca-certificates
libgcc
ARG CREATED ARG CREATED