fix ca issues
This commit is contained in:
parent
e7987b2650
commit
b6b0628836
1 changed files with 3 additions and 2 deletions
|
|
@ -15,8 +15,9 @@ ENV SQLX_OFFLINE=true
|
||||||
|
|
||||||
RUN OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_STATIC=1 RUSTFLAGS="-C target-feature=+aes,+sse -C relocation-model=static -C linker=ld.lld" cargo build --release --target x86_64-unknown-linux-musl
|
RUN OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_STATIC=1 RUSTFLAGS="-C target-feature=+aes,+sse -C relocation-model=static -C linker=ld.lld" cargo build --release --target x86_64-unknown-linux-musl
|
||||||
|
|
||||||
FROM scratch AS final
|
FROM alpine:latest AS final
|
||||||
|
RUN apk add --no-cache ca-certificates
|
||||||
|
RUN update-ca-certificates
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/rboss /rboss
|
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/rboss /rboss
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue