summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/github-sync/Dockerfile
blob: bff131ad7bdecb1694a48d638f01b8df42639d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM $DOCKER_IMAGE_PARENT
MAINTAINER Kartikaya Gupta <kgupta@mozilla.com>

VOLUME /builds/worker/checkouts
VOLUME /builds/worker/workspace
VOLUME /builds/worker/tooltool-cache
VOLUME /builds/worker/.ghsync

ADD prepare.sh /setup/prepare-docker.sh
ADD requirements.txt /setup/requirements.txt
RUN /bin/bash /setup/prepare-docker.sh /setup/requirements.txt && rm -R /setup

# Set a default command useful for debugging
CMD ["/bin/bash", "--login"]