diff options
author | Devaev Maxim <[email protected]> | 2018-11-16 09:25:39 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-16 09:25:39 +0300 |
commit | cd6e490d0f68147980dcf62bea5aace1b05d59e6 (patch) | |
tree | 76cb1a6f66ca4b50236333588c51190570c418ef /testenv/Dockerfile | |
parent | 17c6b9e31f9910c30ac660476e7bed8103f3935e (diff) |
moved tox to testenv
Diffstat (limited to 'testenv/Dockerfile')
-rw-r--r-- | testenv/Dockerfile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile index 90573038..59106908 100644 --- a/testenv/Dockerfile +++ b/testenv/Dockerfile @@ -1,5 +1,7 @@ FROM base/archlinux +RUN dd if=/dev/zero of=/root/loop.img bs=1024 count=1048576 + RUN pacman -Syu --noconfirm \ && pacman -S --noconfirm \ git \ @@ -10,6 +12,8 @@ RUN pacman -Syu --noconfirm \ expac \ jshon \ sudo \ + systemd \ + pkgconf \ && pacman -Sc --noconfirm RUN useradd -r -d / packer \ @@ -33,20 +37,23 @@ COPY testenv/customizepkg.nginx /etc/customizepkg.d/nginx-mainline-mod-lua RUN pacman -Syy \ && user-packer -S --noconfirm \ customizepkg \ + && mkdir /.npm \ + && chmod 777 /.npm \ && user-packer -S --noconfirm \ python \ python-pip \ python-systemd \ nginx-mainline \ + lua51-cjson \ ustreamer \ socat \ - lua51-cjson \ + htmlhint \ + eslint \ + && rm -rf /.npm \ && env MAKEPKGOPTS="--skipchecksums --skippgpcheck" user-packer -S --noconfirm nginx-mainline-mod-lua \ && pacman -Sc --noconfirm COPY testenv/requirements.txt requirements.txt RUN pip install -r requirements.txt -RUN dd if=/dev/zero of=/root/loop.img bs=1024 count=1048576 - CMD /bin/bash |