Use user rust
This commit is contained in:
parent
f874c336ef
commit
c50813409a
@ -16,8 +16,9 @@ RUN ./build.sh
|
|||||||
|
|
||||||
FROM ekidd/rust-musl-builder:stable as backend
|
FROM ekidd/rust-musl-builder:stable as backend
|
||||||
|
|
||||||
|
USER rust
|
||||||
# create new cargo project
|
# create new cargo project
|
||||||
RUN USER=rust cargo new --bin gitache
|
RUN cargo new --bin gitache
|
||||||
RUN cargo new --lib time-cache
|
RUN cargo new --lib time-cache
|
||||||
WORKDIR /home/rust/src/gitache
|
WORKDIR /home/rust/src/gitache
|
||||||
# copy build config
|
# copy build config
|
||||||
|
Loading…
Reference in New Issue
Block a user