mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-14 02:43:12 +00:00
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:
parent
84f791100f
commit
eb0c34c553
@ -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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user