Skip to content

Commit

Permalink
chore: avoid reinstalling packages already present in base image
Browse files Browse the repository at this point in the history
  • Loading branch information
renner0e committed Aug 21, 2024
1 parent 6ba8043 commit bee7f36
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ RUN sed -i 's/#Color/Color/g' /etc/pacman.conf && \
sed -i 's/#MAKEFLAGS="-j2"/MAKEFLAGS="-j$(nproc)"/g' /etc/makepkg.conf && \
pacman-key --init && pacman-key --populate && \
pacman -Syu --noconfirm && \
pacman -S \
wget \
base-devel \
git \
--noconfirm && \
useradd -m --shell=/bin/bash build && usermod -L build && \
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
Expand Down

0 comments on commit bee7f36

Please sign in to comment.