summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Containerfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Containerfile b/Containerfile
index d988874..31734b1 100644
--- a/Containerfile
+++ b/Containerfile
@@ -18,6 +18,12 @@ FROM docker.io/archlinux:latest
ARG EMULATOR=x86
+RUN useradd -m dev
+
+COPY --from=build /opt/toolchain /opt/toolchain
+
+ENV PATH=/opt/toolchain/bin:$PATH
+
RUN pacman --noconfirm -Syu && \
pacman --noconfirm --needed -S \
cmake \
@@ -39,6 +45,3 @@ RUN pacman --noconfirm -Syu && \
xxhash \
zlib
-COPY --from=build /opt/toolchain /opt/toolchain
-
-ENV PATH=/opt/toolchain/bin:$PATH