docker-builder/Dockerfile

54 lines
956 B
Docker
Raw Normal View History

2023-01-10 22:08:15 +01:00
FROM archlinux:latest
USER root
2023-01-11 00:09:43 +01:00
RUN useradd -g users -m -s /bin/bash jenkins
RUN usermod -a -G audio,video,disk,storage jenkins
2023-01-10 22:08:15 +01:00
# update system
RUN pacman -Syu --noconfirm \
&& \
pacman-db-upgrade \
&& \
pacman -S --noconfirm \
jdk-openjdk \
maven \
npm \
gcc \
clang \
make \
python \
python-pip \
php \
git \
&& \
pacman -Scc --noconfirm
RUN pip install \
island \
lutin \
flake8 \
flake8-annotations \
flake8-blind-except \
flake8-bugbear \
flake8-builtins \
flake8-comprehensions \
flake8-deprecated==1.3 \
flake8-executable \
flake8-isort \
flake8-use-fstring \
black \
isort \
mypy \
docker-compose \
docker
ENV PATH /tmp/node_modules/.bin:$PATH
2023-01-11 00:09:43 +01:00
USER jenkins
2023-01-10 22:08:15 +01:00
WORKDIR /workspace/
CMD ["/usr/bin/sleep", "5121512"]