summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-01-25 12:19:38 +0300
committerDevaev Maxim <[email protected]>2021-01-25 12:19:38 +0300
commit13057e7d48ff679fdfd017a22ecf6fa1172adbe9 (patch)
tree30b35c3f990e46059dcd315a0242af6914380f80 /testenv
parentcd90bc67f2532a2b8daa02a069c57028c51c1bb5 (diff)
using archlinux/archlinux:base-devel
Diffstat (limited to 'testenv')
-rw-r--r--testenv/Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index 0f88fe91..e91e1031 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -1,4 +1,4 @@
-FROM archlinux/base
+FROM archlinux/archlinux:base-devel
RUN mkdir -p /etc/pacman.d/hooks \
&& 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 \
&& pacman -S --needed --noconfirm \
- base \
- base-devel \
autoconf-archive \
help2man \
m4 \
@@ -41,7 +39,8 @@ RUN pacman -Syu --noconfirm \
socat \
eslint \
npm \
- && (pacman -Sc --noconfirm || true)
+ && (pacman -Sc --noconfirm || true) \
+ && rm -rf /var/cache/pacman/pkg/*
COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt