Skip to content

Commit

Permalink
add support for Meteor 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jshimko committed Nov 4, 2017
1 parent c93d356 commit ff242bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN groupadd -r node && useradd -m -g node node
ENV GOSU_VERSION 1.10

# MongoDB
ENV MONGO_VERSION 3.4.9
ENV MONGO_VERSION 3.4.10
ENV MONGO_MAJOR 3.4
ENV MONGO_PACKAGE mongodb-org

Expand All @@ -28,7 +28,7 @@ ONBUILD ARG APT_GET_INSTALL
ONBUILD ENV APT_GET_INSTALL $APT_GET_INSTALL

ONBUILD ARG NODE_VERSION
ONBUILD ENV NODE_VERSION ${NODE_VERSION:-4.8.4}
ONBUILD ENV NODE_VERSION ${NODE_VERSION:-8.9.0}

ONBUILD ARG NPM_TOKEN
ONBUILD ENV NPM_TOKEN $NPM_TOKEN
Expand Down
4 changes: 2 additions & 2 deletions dev.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV DEV_BUILD true
ENV GOSU_VERSION 1.10

# MongoDB
ENV MONGO_VERSION 3.4.9
ENV MONGO_VERSION 3.4.10
ENV MONGO_MAJOR 3.4
ENV MONGO_PACKAGE mongodb-org

Expand All @@ -34,7 +34,7 @@ ONBUILD ARG APT_GET_INSTALL
ONBUILD ENV APT_GET_INSTALL $APT_GET_INSTALL

ONBUILD ARG NODE_VERSION
ONBUILD ENV NODE_VERSION ${NODE_VERSION:-4.8.4}
ONBUILD ENV NODE_VERSION ${NODE_VERSION:-8.9.0}

ONBUILD ARG INSTALL_MONGO
ONBUILD ENV INSTALL_MONGO ${INSTALL_MONGO:-true}
Expand Down
3 changes: 1 addition & 2 deletions scripts/post-build-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ rm -rf /root/{.npm,.cache,.config,.cordova,.local}
rm -rf /tmp/*

# remove npm
npm cache clean
rm -rf /opt/nodejs/bin/npm
rm -rf /opt/nodejs/lib/node_modules/npm/

# remove os dependencies
apt-get purge -y --auto-remove apt-transport-https build-essential bsdtar bzip2 ca-certificates curl git python
apt-get purge -y --auto-remove apt-transport-https build-essential bsdtar bzip2 ca-certificates curl git python
apt-get -y autoremove
apt-get -y clean
apt-get -y autoclean
Expand Down

0 comments on commit ff242bb

Please sign in to comment.