mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
23 lines
495 B
Docker
23 lines
495 B
Docker
FROM ubuntu:vivid
|
|
|
|
RUN apt-get -q update \
|
|
&& apt-get install --yes -q \
|
|
mercurial \
|
|
python-dev \
|
|
python-pip \
|
|
python-virtualenv \
|
|
libffi-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
|