diff --git a/Dockerfile b/Dockerfile index 31e9253..96fe7f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.79-slim-bullseye AS build-default +FROM rust:1.81-slim-bullseye AS build-default RUN apt-get update && apt-get install -y upx-ucl USER nobody WORKDIR /opt/swarmcret @@ -7,7 +7,7 @@ RUN cargo test RUN cargo build --release RUN upx --best --lzma target/release/swarmcret -FROM rust:1.79.0-alpine3.20 AS build-alpine +FROM rust:1.81.0-alpine3.20 AS build-alpine RUN apk add upx USER nobody WORKDIR /opt/swarmcret