diff --git a/Dockerfile b/Dockerfile index eccc82f..9fc3238 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ RUN if [ "$TARGETPLATFORM" == "linux/amd64" ]; then echo "-C target-cpu=x86-6 else echo "Unsupported architecture $TARGETPLATFORM"; exit 1; \ fi -RUN RUSTFLAGS="$(cat /.target-cpu)" cargo zigbuild --release --locked --target "$(cat /.target)" && \ +RUN RUSTFLAGS="$(cat /.target-cpu) --cfg tokio_unstable" cargo zigbuild --release --locked --target "$(cat /.target)" && \ mv ./target/$(cat /.target)/release/nailpit . FROM gcr.io/distroless/static-debian13:latest AS runtime