Dockerfile (802B)
1 FROM $DOCKER_IMAGE_PARENT 2 MAINTAINER Gabriele Svelto <gsvelto@mozilla.com> 3 4 RUN mkdir -p /builds 5 RUN id worker || useradd -d /builds/worker -s /bin/bash -m worker 6 WORKDIR /builds/worker 7 8 # We need to declare all potentially cache volumes as caches. Also, 9 # making high I/O paths volumes increase I/O throughput because of 10 # AUFS slowness. 11 VOLUME /builds/worker/checkouts 12 13 RUN apt-get update && \ 14 apt-get install --no-install-recommends -y \ 15 build-essential curl file jq python3-pip unzip wget zip && \ 16 apt-get autoremove -y && rm -rf /var/lib/apt/lists/* 17 18 COPY run.sh /builds/worker/run.sh 19 20 RUN chown -R worker:worker /builds/worker 21 22 RUN pip3 install --break-system-packages crashstats-tools==2.1.0 23 24 # Set a default command useful for debugging 25 CMD ["/bin/bash", "--login"]