This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:precise | |
MAINTAINER Kenichi Nakamura <knakamura@esri.com> | |
# set locale | |
RUN locale-gen --no-purge en_US.UTF-8 | |
ENV LC_ALL en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US.UTF-8 | |
RUN echo 'LANG="en_US.UTF-8"' >> /etc/default/locale | |
# config apt | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update | |
# install wget for postgresql key | |
RUN apt-get -y install wget | |
# add postgresql repo | |
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" >> /etc/apt/sources.list | |
RUN wget -q -O - http://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - | |
RUN apt-get update | |
# install/config postgresql + plv8 | |
RUN apt-get -y install postgresql-9.3 postgresql-contrib-9.3 postgresql-9.3-plv8 \ | |
build-essential postgresql-server-dev-9.3 \ | |
libgeos-dev libgdal-dev libxml2-dev libjson0-dev libproj-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment