Skip to content

Commit

Permalink
Fix compilation error in builder stage
Browse files Browse the repository at this point in the history
Fix the `collect2: fatal error: cannot find 'ld'` error for the build
stage by installing `binutils-gold` per
nodejs/node#4212. There are other solutions
there as well that does not entail installing another util package, but
I could not get any others to work.
  • Loading branch information
fasterius committed Nov 29, 2024
1 parent 972e9e2 commit 1b9a5d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM golang:1.23.3-alpine3.20 AS builder
RUN apk add --no-cache \
# Required for apptainer to find min go version
bash \
binutils-gold \
cryptsetup \
gawk \
gcc \
Expand Down

0 comments on commit 1b9a5d6

Please sign in to comment.