ckan/docker/fig/Dockerfile
Clément MOUCHET 9a20dea6a4 UPDATED:
- CKAN Dockerfile
	- improved caching of common requirements with the Datapusher
	- Added $CKAN_INI env variable
	- downgraded to pip 1.4.1 because 1.5 has a bug with HTTPS proxies https://github.com/pypa/pip/issues/1805
	- fixed incorrect default port exposed
- Fig Dockerfile to 1.0.1
- fig.yml
	- mount the custom_options.ini as a volume
	- use relative path by default
- Documentation
ADDED:
- Datapusher Dockerfile based on fusion baseimage.
2014-11-15 18:02:58 +00:00

21 lines
622 B
Docker
Executable File

FROM phusion/baseimage:0.9.15
MAINTAINER Open Knowledge
# set UTF-8 locale
RUN locale-gen en_US.UTF-8 && \
echo 'LANG="en_US.UTF-8"' > /etc/default/locale
RUN apt-get -qq update
# Install required packages
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq -y install curl
RUN curl -sSL https://get.docker.com/ | sh
RUN curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > /usr/local/bin/fig; chmod +x /usr/local/bin/fig
ENV DOCKER_HOST unix:///tmp/docker.sock
WORKDIR /src
CMD ["/bin/bash"]
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*