Use user rust

This commit is contained in:
Valentin Brandl 2019-08-07 22:26:34 +02:00
parent f874c336ef
commit c50813409a
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -16,8 +16,9 @@ RUN ./build.sh
FROM ekidd/rust-musl-builder:stable as backend
USER rust
# create new cargo project
RUN USER=rust cargo new --bin gitache
RUN cargo new --bin gitache
RUN cargo new --lib time-cache
WORKDIR /home/rust/src/gitache
# copy build config