Dockerfile (870B)
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 7zip jq python3-pip wget && \ 15 apt-get autoremove -y && \ 16 rm -rf /var/lib/apt/lists/* 17 RUN pip3 install --progress-bar off --break-system-packages crashstats-tools==2.0.0 18 19 # %include tools/crashreporter/system-symbols/win 20 COPY topsrcdir/tools/crashreporter/system-symbols/win /builds/worker 21 22 RUN chown -R worker:worker /builds/worker 23 24 # Set a default command useful for debugging 25 CMD ["/bin/bash", "--login"]