From 81a5311349564a1016c4af2bf18ae872b650e85b Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 26 Sep 2018 02:57:24 +0300 Subject: moved kvmd to the root --- kvmd/testenv/Dockerfile | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 kvmd/testenv/Dockerfile (limited to 'kvmd/testenv/Dockerfile') diff --git a/kvmd/testenv/Dockerfile b/kvmd/testenv/Dockerfile deleted file mode 100644 index db7e6538..00000000 --- a/kvmd/testenv/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -FROM base/archlinux - -RUN pacman -Syu --noconfirm \ - && pacman -S --noconfirm \ - git \ - patch \ - make \ - fakeroot \ - binutils \ - expac \ - jshon \ - sudo \ - && pacman -Sc --noconfirm - -RUN useradd -r -d / packer \ - && cd /tmp \ - && sudo -u packer git clone https://aur.archlinux.org/packer-color.git \ - && cd packer-color \ - && sudo -u packer makepkg \ - && pacman --noconfirm -U packer-color-*.pkg.tar.xz \ - && ln -s /usr/bin/packer-color /usr/local/bin/packer \ - && cp /usr/bin/packer-color /usr/local/bin/user-packer \ - && sed -i -e "s|makepkg \$MAKEPKGOPTS |chown -R packer:packer \$dir; makepkg \$MAKEPKGOPTS |g" \ - /usr/local/bin/user-packer \ - && sed -i -e "s|makepkg \$MAKEPKGOPTS --asroot -f|sudo -u packer makepkg \$MAKEPKGOPTS -f|g" \ - /usr/local/bin/user-packer \ - && cd - \ - && rm -rf /tmp/packer-color - -RUN pacman -Syy \ - && user-packer -S --noconfirm \ - python \ - python-pip \ - nginx-mainline \ - nginx-mainline-mod-lua \ - ustreamer \ - socat \ - && 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 -- cgit v1.2.3