mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
35
testing/docker/funsize-update-generator/Dockerfile
Normal file
35
testing/docker/funsize-update-generator/Dockerfile
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
FROM ubuntu:vivid
|
||||
MAINTAINER Rail Aliiev <rail@mozilla.com>
|
||||
|
||||
# Required software
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
# 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
|
||||
# Chain apt-get commands with apt-get clean in a single docker RUN
|
||||
# to make sure that files are removed within a single docker layer
|
||||
RUN apt-get update -q && \
|
||||
apt-get install -yyq --no-install-recommends \
|
||||
python python-setuptools python-cryptography libgetopt-simple-perl \
|
||||
bzip2 clamav clamav-freshclam python-requests python-sh curl && \
|
||||
apt-get clean
|
||||
RUN useradd -d /home/worker -s /bin/bash -m worker
|
||||
COPY requirements.txt /tmp/
|
||||
# python-pip installs a lot of dependencies increasing the size of an image
|
||||
# drastically. Using easy_install saves us almost 200M.
|
||||
RUN easy_install pip
|
||||
RUN pip install -r /tmp/requirements.txt
|
||||
|
||||
# scripts
|
||||
RUN mkdir /home/worker/bin
|
||||
COPY scripts/* /home/worker/bin/
|
||||
COPY runme.sh /runme.sh
|
||||
RUN chmod 755 /home/worker/bin/* /runme.sh
|
||||
RUN mkdir /home/worker/keys
|
||||
COPY *.pubkey /home/worker/keys/
|
||||
# Freshclam may be flaky, retry if it fails
|
||||
RUN for i in 1 2 3 4 5; do freshclam --verbose && break || sleep 15; done
|
||||
|
||||
ENV HOME /home/worker
|
||||
ENV SHELL /bin/bash
|
||||
ENV USER worker
|
||||
ENV LOGNAME worker
|
||||
Loading…
Add table
Add a link
Reference in a new issue