Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Commit bf97d5e

Browse files
committed
fix: Add libgcc dependency
1 parent 6ec5216 commit bf97d5e

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG TARGETPLATFORM
55

66
WORKDIR /app
77

8-
RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
8+
RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file libgcc
99

1010
RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1111
RUN install /tmp/dibs /usr/local/bin

Dockerfile.dhclientd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ FROM --platform=$TARGETPLATFORM alpine
2626
ARG DIBS_TARGET
2727
ARG TARGETPLATFORM
2828

29+
RUN apk add -u libgcc
30+
2931
COPY --from=build /app/.bin/binaries/dhclientd/dhclientd* /usr/local/bin/dhclientd
3032

3133
CMD /usr/local/bin/dhclientd

Dockerfile.dhcpdd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ FROM --platform=$TARGETPLATFORM alpine
2626
ARG DIBS_TARGET
2727
ARG TARGETPLATFORM
2828

29+
RUN apk add -u libgcc
30+
2931
COPY --from=build /app/.bin/binaries/dhcpdd/dhcpdd* /usr/local/bin/dhcpdd
3032

3133
CMD /usr/local/bin/dhcpdd

Dockerfile.integrationTests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ARG TARGETPLATFORM
2828

2929
WORKDIR /app
3030

31-
RUN apk add -u curl
31+
RUN apk add -u curl libgcc
3232

3333
RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
3434
RUN install /tmp/dibs /usr/local/bin

Dockerfile.unitTests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG TARGETPLATFORM
55

66
WORKDIR /app
77

8-
RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
8+
RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file libgcc
99

1010
RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1111
RUN install /tmp/dibs /usr/local/bin

0 commit comments

Comments
 (0)