adjust Dockerfile.lightpushWithMix.compile

This commit is contained in:
Ivan Folgueira Bande 2026-02-13 13:03:28 +01:00
parent eb0c34c553
commit 5ac9799fd5
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -7,7 +7,7 @@ ARG NIM_COMMIT
ARG LOG_LEVEL=TRACE
# 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 . .
@ -24,7 +24,6 @@ RUN make -j$(nproc) deps QUICK_AND_DIRTY_COMPILER=1 ${NIM_COMMIT}
# Build the final node binary
RUN make -j$(nproc) ${NIM_COMMIT} $MAKE_TARGET LOG_LEVEL=${LOG_LEVEL} NIMFLAGS="${NIMFLAGS}"
# REFERENCE IMAGE as BASE for specialized PRODUCTION IMAGES----------------------------------------
FROM alpine:3.18 AS base_lpt
@ -44,8 +43,8 @@ RUN apk add --no-cache libgcc libpq-dev \
wget \
iproute2 \
python3 \
jq
jq \
libstdc++
COPY --from=nim-build /app/build/lightpush_publisher_mix /usr/bin/
RUN chmod +x /usr/bin/lightpush_publisher_mix