Skip to content

Commit

Permalink
MISC: Dockerfile.arch: provide pnpm as JS package manager
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Oct 27, 2023
1 parent 903780e commit 4fdc114
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions misc/Dockerfile.arch
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ RUN pacman -Sy --noconfirm archlinux-keyring && pacman-key --init && pacman-key
# Castxml is not provided by pacman
RUN cd /tmp && git clone https://github.com/CastXML/CastXML.git && cd CastXML && cmake . && make -j && sudo make install

# Provide a fast JS package manager
RUN npm install -g pnpm@latest

# Become non-root
RUN groupadd --gid 1000 builder \
&& useradd --uid 1000 --gid 1000 --create-home --shell /bin/bash builder \
Expand Down

0 comments on commit 4fdc114

Please sign in to comment.