summaryrefslogtreecommitdiffstats
path: root/testing/docker/beet-mover
diff options
context:
space:
mode:
Diffstat (limited to 'testing/docker/beet-mover')
-rw-r--r--testing/docker/beet-mover/Dockerfile25
-rw-r--r--testing/docker/beet-mover/requirements.txt2
2 files changed, 27 insertions, 0 deletions
diff --git a/testing/docker/beet-mover/Dockerfile b/testing/docker/beet-mover/Dockerfile
new file mode 100644
index 000000000..95466f8e6
--- /dev/null
+++ b/testing/docker/beet-mover/Dockerfile
@@ -0,0 +1,25 @@
+FROM ubuntu:vivid
+
+# Ubuntu Vivid has been moved to the old-releases repo
+RUN sed -i -e 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
+RUN apt-get -q update \
+ && apt-get install --yes -q \
+ mercurial \
+ python-dev \
+ python-pip \
+ python-virtualenv \
+ libffi-dev \
+ liblzma-dev \
+ libssl-dev \
+ libyaml-dev \
+ libmysqlclient-dev \
+ clamav \
+ clamav-freshclam \
+ curl \
+ wget \
+ && apt-get clean
+
+COPY requirements.txt /tmp/
+RUN pip install -r /tmp/requirements.txt
+# Freshclam may be flaky, retry if it fails
+RUN for i in 1 2 3 4 5; do freshclam --verbose && break || sleep 15; done
diff --git a/testing/docker/beet-mover/requirements.txt b/testing/docker/beet-mover/requirements.txt
new file mode 100644
index 000000000..b4f746aa9
--- /dev/null
+++ b/testing/docker/beet-mover/requirements.txt
@@ -0,0 +1,2 @@
+sh
+redo