diff --git a/Dockerfile b/Dockerfile index 3fcb347..6ef1048 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.84.0-slim as build +FROM rust:1.84.0 as build RUN rustup target add x86_64-unknown-linux-musl && \ apt update && \ @@ -9,13 +9,4 @@ COPY ./src ./src COPY ./Cargo.lock . COPY ./Cargo.toml . -RUN adduser \ - --disabled-password \ - --gecos "" \ - --home "/nonexistent" \ - --shell "/sbin/nologin" \ - --no-create-home \ - --uid 10001 \ - "tom" - RUN cargo build --target x86_64-unknown-linux-musl --release