]> git.immae.eu Git - github/fretlink/docker-node-mongotools.git/commitdiff
chore(bump): bump nodejs to 10.17.0, ansible to 2.8, ruby to 2.6.5 7/head
authorStanislas Signoud <stanislas.signoud@fretlink.com>
Mon, 2 Dec 2019 17:23:40 +0000 (18:23 +0100)
committerStanislas Signoud <stanislas.signoud@fretlink.com>
Mon, 2 Dec 2019 17:45:14 +0000 (18:45 +0100)
Dockerfile

index 33698e4f79d2cf99f4a2d219946d6295cf52e77d..c6fdaa5c8d713a8b5a08872ec298815f88cdcd3c 100644 (file)
@@ -1,4 +1,4 @@
-FROM node:8.12.0-stretch
+FROM node:10.17.0-stretch
 
 WORKDIR /app
 
@@ -9,17 +9,17 @@ RUN echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main" >
 # Install Mongo, python and libpq
 RUN apt-get update
 RUN apt-get install -y mongodb-org-tools mongodb-org-shell \
-        python-pip python-dev libffi-dev libssl-dev libpq5 libpq-dev \
+        python3-pip python-dev libffi-dev libssl-dev libpq5 libpq-dev \
         && apt-get -y --purge remove python-cffi \
-        && pip install --upgrade cffi setuptools
+        && pip3 install --upgrade cffi setuptools
 
 # Install Ansible
-RUN easy_install -U pip && pip install 'ansible>=2.5,<2.6'
+RUN pip3 install 'ansible>=2.8,<2.9'
 
 # Install modern Ruby
-RUN cd /tmp && curl -LO https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.3.tar.gz && \
-        tar -xf ruby-2.6.3.tar.gz && cd ruby-2.6.3 && ./configure
-RUN cd /tmp/ruby-2.6.3 && make && make install
+RUN cd /tmp && curl -LO https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.gz && \
+        tar -xf ruby-2.6.5.tar.gz && cd ruby-2.6.5 && ./configure
+RUN cd /tmp/ruby-2.6.5 && make && make install
 
 # Install Dhall
 RUN curl -LO https://github.com/dhall-lang/dhall-haskell/releases/download/1.21.0/dhall-json-1.2.7-x86_64-linux.tar.bz2 && \