This commit is contained in:
+5
-2
@@ -3,7 +3,8 @@
|
||||
# ============================================================
|
||||
FROM erlang:28-alpine AS builder
|
||||
|
||||
RUN apk add --no-cache \
|
||||
# RUN apk add --no-cache \
|
||||
RUN apk add \
|
||||
git curl make gcc musl-dev \
|
||||
rust cargo openssl-dev libsodium-dev
|
||||
|
||||
@@ -29,7 +30,9 @@ RUN mkdir -p /app/release && \
|
||||
# ============================================================
|
||||
FROM alpine:3.20
|
||||
|
||||
RUN apk add --no-cache openssl libstdc++ libgcc ncurses-libs libsodium
|
||||
# RUN apk add --no-cache \
|
||||
RUN apk add \
|
||||
openssl libstdc++ libgcc ncurses-libs libsodium
|
||||
COPY --from=builder /app/release /app
|
||||
COPY --from=builder /usr/lib/libcrypto.* /usr/lib/
|
||||
COPY --from=builder /usr/lib/libssl.* /usr/lib/
|
||||
|
||||
Reference in New Issue
Block a user