Skip to content

Commit 5ac9799

Browse files
adjust Dockerfile.lightpushWithMix.compile
1 parent eb0c34c commit 5ac9799

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile.lightpushWithMix.compile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG NIM_COMMIT
77
ARG LOG_LEVEL=TRACE
88

99
# Get build tools and required header files
10-
RUN apk add --no-cache bash git build-base openssl-dev linux-headers curl jq
10+
RUN apk add --no-cache bash git build-base openssl-dev linux-headers curl jq libbsd-dev
1111

1212
WORKDIR /app
1313
COPY . .
@@ -24,7 +24,6 @@ RUN make -j$(nproc) deps QUICK_AND_DIRTY_COMPILER=1 ${NIM_COMMIT}
2424
# Build the final node binary
2525
RUN make -j$(nproc) ${NIM_COMMIT} $MAKE_TARGET LOG_LEVEL=${LOG_LEVEL} NIMFLAGS="${NIMFLAGS}"
2626

27-
2827
# REFERENCE IMAGE as BASE for specialized PRODUCTION IMAGES----------------------------------------
2928
FROM alpine:3.18 AS base_lpt
3029

@@ -44,8 +43,8 @@ RUN apk add --no-cache libgcc libpq-dev \
4443
wget \
4544
iproute2 \
4645
python3 \
47-
jq
48-
46+
jq \
47+
libstdc++
4948

5049
COPY --from=nim-build /app/build/lightpush_publisher_mix /usr/bin/
5150
RUN chmod +x /usr/bin/lightpush_publisher_mix

0 commit comments

Comments
 (0)