From 0e382ef820972c52087da554bf7b423dc1dfa3cc Mon Sep 17 00:00:00 2001 From: sim Date: Fri, 25 Oct 2024 17:17:56 +0200 Subject: [PATCH] Remove locked during build --- Containerfile.alpine | 2 +- Containerfile.debian | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile.alpine b/Containerfile.alpine index 7c60177..5e26b56 100644 --- a/Containerfile.alpine +++ b/Containerfile.alpine @@ -4,7 +4,7 @@ WORKDIR app RUN apk add --no-cache musl-dev openssl-dev openssl-libs-static sqlite-dev sqlite-static COPY . . -RUN cargo build --release --locked --bin mollysocket +RUN cargo build --release --bin mollysocket FROM alpine:3 AS runtime diff --git a/Containerfile.debian b/Containerfile.debian index a0713f7..509b14e 100644 --- a/Containerfile.debian +++ b/Containerfile.debian @@ -2,7 +2,7 @@ FROM docker.io/rust:bookworm AS builder WORKDIR app COPY . . -RUN cargo build --release --locked --bin mollysocket +RUN cargo build --release --bin mollysocket FROM docker.io/debian:bookworm-slim AS runtime