From 7adf70a56a9d0dd6a079b474195d2c021a343be1 Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 21 Jul 2024 22:01:14 +0200 Subject: [PATCH] fix: useradd command --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2b5eb00..ddbae29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM rust:1 -RUN useradd -D -h /build bob \ +RUN useradd -d /build -m bob \ && cp -r /usr/local/cargo /build/.cargo \ && chown -R bob:bob /build/.cargo \ && cp -r /usr/local/rustup /build/.rustup \