balena-supervisor/tools/dind/Dockerfile
Pablo Carranza Vélez 53668647c8 Integration test is now working.
* More work on the integration test
* Correctly get supervisor IP
* Use Fatal for test errors
* test-integration working separate from run-supervisor
* Use jenkins' JOB_NAME to identify and remove containers with their volumes
* Document testing procedure
* Document the assume-unchanged tip
* Use /mnt/root for data path
* Nicer secret assignment
2015-10-13 13:43:36 -03:00

22 lines
672 B
Docker

FROM resin/resin-base:1acfee1
VOLUME /var/lib/docker
VOLUME /resin-data
ENV DOCKER_VERSION 1.6.2
# From get.docker.com script
RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 \
&& echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list \
&& apt-get update && apt-get install lxc-docker-${DOCKER_VERSION} \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install jq \
&& rm -rf /var/lib/apt/lists/*
COPY config/openvpn/ /etc/openvpn/
COPY config/services/ /etc/systemd/system/
COPY vpn-init /usr/src/app/
RUN systemctl enable resin-supervisor-dind