Skip to content

Commit

Permalink
fix: failed to link openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisaAkiron committed Mar 7, 2024
1 parent edae87a commit c2b5630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ COPY . /build

WORKDIR /build

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

FROM docker.io/library/alpine:3.19

ARG PG_VERSION=16

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

WORKDIR /app

Expand Down

0 comments on commit c2b5630

Please sign in to comment.