summaryrefslogtreecommitdiff
path: root/docker/linux/Dockerfile
blob: c797082d932d1c4b52f82edbd964261e223c1339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM mapbox/gl-native:travis

# Install compiler
RUN apt-get -y install gdb g++-5 gcc-5 libllvm3.4

RUN useradd -ms /bin/bash mapbox
USER mapbox
ENV HOME /home/mapbox
WORKDIR /home/mapbox

# Node
RUN git clone https://github.com/creationix/nvm.git ~/.nvm && \
    . ~/.nvm/nvm.sh && \
    NVM_DIR=~/.nvm nvm install 4.4.5