Skip to content

Commit

Permalink
docker: Install clang and gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Skallwar committed Nov 30, 2020
1 parent 7bcd3cc commit c716fe0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM archlinux:20200908

ENV pacman="sudo pacman --noconfirm"
ENV yay="yay --noconfirm"
# Pacman and yay wrapper
ENV pacman="sudo pacman -y --noconfirm"
ENV yay="yay -y --noconfirm"

# Create and log as notroot user for makepkg
RUN pacman --noconfirm -Syy base-devel
Expand All @@ -20,6 +21,9 @@ RUN makepkg --noconfirm -si
WORKDIR /home/notroot/
RUN rm -r yay-bin


RUN $pacman -S meson ninja
# Install packages needed by the CI
RUN $pacman -S meson ninja gcc clang
RUN $yay -S criterion

# Make us root again for Github Action
USER root

0 comments on commit c716fe0

Please sign in to comment.