summaryrefslogtreecommitdiff
path: root/docker/linux/Dockerfile
blob: 0d23fe1e79a5d1820ccd56416c212c1c0bf1541c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:12.04

RUN apt-get update -y && \
    apt-get install -y build-essential git-core python-pip python-software-properties software-properties-common && \
    rm -rf /var/lib/apt/lists/*

RUN add-apt-repository --yes ppa:ubuntu-toolchain-r/test && \
    add-apt-repository --yes ppa:boost-latest/ppa && \
    apt-get update -y && \
    apt-get -y install gcc-4.8 g++-4.8 curl zlib1g-dev automake gdb libtool xutils-dev make cmake pkg-config python-pip libboost1.55-dev libcurl4-openssl-dev libpng-dev libsqlite3-dev mesa-utils libxi-dev x11proto-randr-dev x11proto-xext-dev libxrandr-dev x11proto-xf86vidmode-dev libxxf86vm-dev libxcursor-dev libxinerama-dev xvfb llvm-3.4 && \
    pip install awscli

RUN apt-get install -y imagemagick

RUN useradd -ms /bin/bash mapbox

USER mapbox
ENV HOME /home/mapbox
WORKDIR /home/mapbox