Set User to fix permission issue
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
FROM rust:1.55
|
FROM rust:1.55
|
||||||
|
USER 1000:999
|
||||||
COPY Cargo.toml .
|
COPY Cargo.toml .
|
||||||
RUN mkdir ./src && echo "fn main() {}" > ./src/main.rs && cargo fetch
|
RUN mkdir ./src && echo "fn main() {}" > ./src/main.rs && cargo fetch
|
||||||
COPY src/ ./src/
|
COPY src/ ./src/
|
||||||
|
|||||||
Reference in New Issue
Block a user