remove gid from Dockerfile useradd command
Some checks failed
Build and publish the docker image / build (push) Failing after 3m32s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn 2025-01-20 05:58:27 +03:00
parent 314b237bb7
commit e35f0fa00b
Signed by: ngn
GPG Key ID: A3654DF5AD9F641D

View File

@ -1,7 +1,8 @@
FROM rust:slim as rust
WORKDIR /src
RUN apt-get update && apt-get install -y git pkg-config libssl-dev
RUN apt-get update
RUN apt-get install -y git pkg-config libssl-dev
RUN mkdir src && echo "fn main() {}" > src/main.rs
COPY Cargo.toml .
@ -15,7 +16,7 @@ RUN cargo build --release
FROM debian:bookworm-slim
RUN useradd -d /app -u 1001 -g 1001 libmedium
RUN useradd -d /app -u 1001 libmedium
RUN apt-get update
RUN apt-get install -y ca-certificates