From 8a82ff669188a990696e65c42cac0ffce70f0af3 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 25 Jan 2021 11:58:52 +0300 Subject: [PATCH] using archlinux/archlinux:base-devel --- linters/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/linters/Dockerfile b/linters/Dockerfile index 8a012f2..96671f4 100644 --- a/linters/Dockerfile +++ b/linters/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 \ vim \ git \ libjpeg \ @@ -20,7 +18,8 @@ RUN pacman -Syu --noconfirm \ python-tox \ cppcheck \ npm \ - && (pacman -Sc --noconfirm || true) + && (pacman -Sc --noconfirm || true) \ + && rm -rf /var/cache/pacman/pkg/* RUN npm install htmlhint -g