Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Pinned Gritty version to 3.x (4.x is not compatible with Node 6)
  • Loading branch information
chrissmith-mcafee committed Oct 2, 2018
1 parent fcaa87a commit 59fd8d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM python:2.7-slim
ARG DXL_CLIENT_VERSION=4.1.0.187
ARG DXL_BOOTSTRAP_VERSION=0.2.0
ARG CLOUDCMD_VERSION=^10.0.0
ARG GRITTY_VERSION=^3.0.0
ARG NODE_SETUP=setup_6.x

VOLUME ["/opendxl"]
Expand All @@ -12,7 +13,7 @@ RUN apt-get update \
&& curl -sL https://deb.nodesource.com/${NODE_SETUP} | /bin/bash - \
&& apt-get install -y nodejs build-essential \
&& npm i cloudcmd@${CLOUDCMD_VERSION} -g \
&& npm i gritty \
&& npm i gritty@${GRITTY_VERSION} \
&& apt-get remove -y --auto-remove build-essential \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 59fd8d7

Please sign in to comment.