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