Skip to content

Commit c2b5630

Browse files
committed
fix: failed to link openssl
1 parent edae87a commit c2b5630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ COPY . /build
44

55
WORKDIR /build
66

7-
RUN apk add --no-cache build-base
7+
RUN apk add build-base pkgconfig musl-dev openssl-dev openssl-libs-static
88
RUN cargo build --release
99

1010
FROM docker.io/library/alpine:3.19
1111

1212
ARG PG_VERSION=16
1313

14-
RUN apk add --no-cache postgresql${PG_VERSION}-client
14+
RUN apk add postgresql${PG_VERSION}-client
1515

1616
WORKDIR /app
1717

0 commit comments

Comments
 (0)