remove gid from Dockerfile useradd command
Some checks failed
Build and publish the docker image / build (push) Failing after 3m32s
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:
parent
314b237bb7
commit
e35f0fa00b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user