From c50813409afc689f34c19bf15d33a104c519ec57 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Wed, 7 Aug 2019 22:26:34 +0200 Subject: [PATCH] Use user `rust` --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8418647..71b3b3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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