Skip to content

Commit

Permalink
Update dockerfile used for local development / drone.io after node up…
Browse files Browse the repository at this point in the history
…grade
  • Loading branch information
Winter Dong committed Feb 1, 2019
1 parent 08f43cf commit 09b4a13
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docker/dockerfiles/Dockerfile
Expand Up @@ -46,15 +46,15 @@ RUN apt-get update && \
python python-dev

# install node
RUN wget https://nodejs.org/dist/v8.4.0/node-v8.4.0.tar.gz && \
tar -xzvf node-v8.4.0.tar.gz && \
rm node-v8.4.0.tar.gz && \
cd node-v8.4.0 && \
RUN wget https://nodejs.org/dist/v8.15.0/node-v8.15.0.tar.gz && \
tar -xzvf node-v8.15.0.tar.gz && \
rm node-v8.15.0.tar.gz && \
cd node-v8.15.0 && \
./configure && \
make -j4 && \
make install && \
cd .. && \
rm -r node-v8.4.0
rm -r node-v8.15.0

# more more tools
RUN apt-get install -y unzip
Expand Down Expand Up @@ -133,6 +133,7 @@ RUN echo 'eval "$(rbenv init -)"' >> ~/.bashrc
# We need git >= 2.15 to use git rev-parse --is-shallow-clone feature
# TODO: consolidate apt-get installs
RUN sudo apt-get install -y software-properties-common && sudo add-apt-repository ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
RUN sudo apt-get install -y jq

# en_US.UTF-8 locale not available by default
RUN sudo locale-gen en_US.UTF-8
Expand Down

0 comments on commit 09b4a13

Please sign in to comment.