Edouard DUPIN
49459eb375
Some checks reported errors
WEB karideo and rabbit/docker-builder/pipeline/head Something is wrong with the build of this commit
54 lines
956 B
Docker
54 lines
956 B
Docker
FROM archlinux:latest
|
|
|
|
USER root
|
|
|
|
RUN useradd -g users -m -s /bin/bash jenkins
|
|
|
|
RUN usermod -a -G audio,video,disk,storage jenkins
|
|
|
|
# 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
|
|
|
|
USER jenkins
|
|
|
|
WORKDIR /workspace/
|
|
|
|
CMD ["/usr/bin/sleep", "5121512"]
|