Dockerfile (926B)
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 aria2 file binutils build-essential cpio curl debuginfod elfutils \ 16 flatpak jq libxml2-utils python3-pip squashfs-tools unzip wget zip && \ 17 apt-get autoremove -y && rm -rf /var/lib/apt/lists/* 18 19 COPY run.sh /builds/worker/run.sh 20 21 COPY SHA256SUMS.txt /builds/worker/ 22 23 RUN chown -R worker:worker /builds/worker 24 25 RUN pip3 install --break-system-packages crashstats-tools==2.1.0 26 27 # Set a default command useful for debugging 28 CMD ["/bin/bash", "--login"]