diff --git a/Dockerfile b/Dockerfile index 9bb2b39..a822ada 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -FROM scratch AS final - +FROM alpine:latest AS final +RUN apk add --no-cache ca-certificates +RUN update-ca-certificates WORKDIR / COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/rboss /rboss