We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a97cac commit a49ad59Copy full SHA for a49ad59
Dockerfile
@@ -2,7 +2,8 @@
2
FROM rust:1.73-alpine AS builder
3
WORKDIR /build
4
COPY . .
5
-RUN apk add --no-cache build-base binutils mariadb-dev musl-dev bash cmake curl && \
+RUN apk add --no-cache build-base binutils mariadb-dev musl-dev bash cmake curl openssl-dev && \
6
+ export OPENSSL_DIR=/usr && \
7
bash scripts/mariadb-static-build.sh && \
8
bash scripts/zlib-static-build.sh && \
9
ar x lib/libmysqlclient.a && \
Dockerfile-sqlite
-RUN apk add --no-cache build-base && \
+RUN apk add --no-cache build-base openssl-dev && \
cargo build --target=x86_64-unknown-linux-musl --release --no-default-features -F sqlite-bundle
FROM scratch
0 commit comments