Adjust docker file to bsd (#3720)

* add libbsd-dev into Dockerfile
* add libstdc++ in Dockerfile
  to avoid runtime error loading shared library libstdc++.so.6:
  No such file or directory (needed by /usr/bin/wakunode)
This commit is contained in:
Ivan FB 2026-02-13 12:55:31 +01:00 committed by GitHub
parent 84f791100f
commit eb0c34c553
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ ARG LOG_LEVEL=TRACE
ARG HEAPTRACK_BUILD=0
# Get build tools and required header files
RUN apk add --no-cache bash git build-base openssl-dev linux-headers curl jq
RUN apk add --no-cache bash git build-base openssl-dev linux-headers curl jq libbsd-dev
WORKDIR /app
COPY . .
@ -46,7 +46,7 @@ LABEL version="unknown"
EXPOSE 30303 60000 8545
# Referenced in the binary
RUN apk add --no-cache libgcc libpq-dev bind-tools
RUN apk add --no-cache libgcc libpq-dev bind-tools libstdc++
# Copy to separate location to accomodate different MAKE_TARGET values
COPY --from=nim-build /app/build/$MAKE_TARGET /usr/local/bin/