Skip to content

Commit 320a2e3

Browse files
committed
Try to get the mutants container user going
1 parent d1f2154 commit 320a2e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ FROM rust:latest AS build
33
RUN apt update
44
RUN apt install -y s3cmd tar zstd awscli clang build-essential
55
RUN cargo install --locked cargo-nextest
6-
RUN adduser --disabled-password --gecos "mutants-remote" mutants
6+
RUN adduser --disabled-password --gecos "mutants" mutants
77
RUN --mount=type=bind,source=.,target=/src,rw cargo install --locked --path=/src --target-dir=/build
8+
USER mutants
9+
10+
# TODO: Copy everything to a final image that doesn't need the build artifacts
811

912
# FROM rust:latest AS final
1013
# COPY --from=build /build/release/cargo-mutants /usr/local/bin/

0 commit comments

Comments
 (0)