using archlinux/archlinux:base-devel

This commit is contained in:
Devaev Maxim 2021-01-25 12:19:38 +03:00
parent cd90bc67f2
commit 13057e7d48

View File

@ -1,4 +1,4 @@
FROM archlinux/base FROM archlinux/archlinux:base-devel
RUN mkdir -p /etc/pacman.d/hooks \ RUN mkdir -p /etc/pacman.d/hooks \
&& ln -s /dev/null /etc/pacman.d/hooks/30-systemd-tmpfiles.hook && ln -s /dev/null /etc/pacman.d/hooks/30-systemd-tmpfiles.hook
@ -7,8 +7,6 @@ RUN echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pa
RUN pacman -Syu --noconfirm \ RUN pacman -Syu --noconfirm \
&& pacman -S --needed --noconfirm \ && pacman -S --needed --noconfirm \
base \
base-devel \
autoconf-archive \ autoconf-archive \
help2man \ help2man \
m4 \ m4 \
@ -41,7 +39,8 @@ RUN pacman -Syu --noconfirm \
socat \ socat \
eslint \ eslint \
npm \ npm \
&& (pacman -Sc --noconfirm || true) && (pacman -Sc --noconfirm || true) \
&& rm -rf /var/cache/pacman/pkg/*
COPY testenv/requirements.txt requirements.txt COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt RUN pip install -r requirements.txt