summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-03-27 06:48:48 +0300
committerDevaev Maxim <[email protected]>2019-03-27 06:48:48 +0300
commit68f28c69f30b1289ff55963d056c8baa232136b1 (patch)
tree6045a55369950cbace554f9ae332dbcd9cc1432a
parent67460f872b26304b0df6a42d243a444131588c6d (diff)
actualized dockerfile
-rw-r--r--testenv/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index 39cc3815..41ec2a73 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -1,9 +1,10 @@
-FROM base/archlinux
+FROM archlinux/base
RUN dd if=/dev/zero of=/root/loop.img bs=1024 count=1048576
RUN pacman -Syu --noconfirm \
&& pacman -S --noconfirm \
+ base-devel \
git \
patch \
make \
@@ -14,7 +15,7 @@ RUN pacman -Syu --noconfirm \
sudo \
systemd \
pkgconf \
- && pacman -Sc --noconfirm
+ && (pacman -Sc --noconfirm || true)
RUN useradd -r -d / packer \
&& cd /tmp \
@@ -45,7 +46,7 @@ RUN pacman -Syy \
htmlhint \
eslint \
&& rm -rf /.npm \
- && pacman -Sc --noconfirm
+ && (pacman -Sc --noconfirm || true)
COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt