Skip to content

Commit

Permalink
Added Arch Linux container for both local and AUR package builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Blutkoete committed Sep 8, 2020
1 parent c2d7977 commit 43cddd0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ecal-base-archlinux-aur/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM archlinux
MAINTAINER [email protected]

RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm base-devel && \
pacman -S --noconfirm git pacman-contrib vim

RUN useradd --uid 1306 --user-group --groups wheel --create-home --shell /bin/bash ecal

RUN sed -i '/ %wheel ALL=(ALL) NOPASSWD: ALL/s/^# //g' /etc/sudoers

USER 1306
RUN mkdir -p /home/ecal/Werkbank/aur/
WORKDIR /home/ecal/Werkbank/aur/
RUN git clone https://aur.archlinux.org/ecal.git
WORKDIR /home/ecal/Werkbank/aur/ecal/
17 changes: 17 additions & 0 deletions ecal-base-archlinux/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM archlinux
MAINTAINER [email protected]

RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm base-devel && \
pacman -S --noconfirm git pacman-contrib vim && \
pacman -S --noconfirm cmake curl doxygen git graphviz hdf5 protobuf qt5-base

RUN useradd --uid 1306 --user-group --groups wheel --create-home --shell /bin/bash ecal

RUN sed -i '/ %wheel ALL=(ALL) NOPASSWD: ALL/s/^# //g' /etc/sudoers

USER 1306
RUN mkdir -p /home/ecal/Werkbank/c_c++/
WORKDIR /home/ecal/Werkbank/c_c++/
RUN git clone https://github.org/continental/ecal.git
WORKDIR /home/ecal/Werkbank/c_c++/ecal/

0 comments on commit 43cddd0

Please sign in to comment.