fixing image
Some checks failed
Cargo Check & Build / Rust project - latest (push) Has been cancelled

This commit is contained in:
Joshua Higgins
2025-04-08 20:36:14 -04:00
parent 731dc41ecc
commit be03f35731

View File

@@ -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