fix: useradd command
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2024-07-21 22:01:14 +02:00
parent 975634bbe0
commit 7adf70a56a
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM rust:1 FROM rust:1
RUN useradd -D -h /build bob \ RUN useradd -d /build -m bob \
&& cp -r /usr/local/cargo /build/.cargo \ && cp -r /usr/local/cargo /build/.cargo \
&& chown -R bob:bob /build/.cargo \ && chown -R bob:bob /build/.cargo \
&& cp -r /usr/local/rustup /build/.rustup \ && cp -r /usr/local/rustup /build/.rustup \