Skip to content

Commit

Permalink
Merge pull request #3 from chrissmith-mcafee/master
Browse files Browse the repository at this point in the history
Added JSON Schema and OpenDXL Bootprint
  • Loading branch information
chrissmith-mcafee committed Jan 29, 2019
2 parents 14669c0 + 21bcfde commit 1f3f886
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,22 @@ RUN apt-get update \
&& apt-get install -y nodejs build-essential openjdk-8-jdk-headless \
&& npm i cloudcmd@${CLOUDCMD_VERSION} -g \
&& npm i gritty@${GRITTY_VERSION} \
&& npm install -g bootprint \
&& npm install -g bootprint-opendxl \
&& apt-get remove -y --auto-remove build-essential \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /root/dxlschema/v0.1 \
&& cd /root/dxlschema/v0.1 \
&& wget https://opendxl.github.io/opendxl-api-specification/v0.1/schema.json

RUN wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' && \
python3 get-pip.py --disable-pip-version-check --no-cache-dir && \
rm -f get-pip.py && \
cp -f /usr/local/bin/pip2 /usr/local/bin/pip

RUN pip3 install sphinx dxlclient==${DXL_CLIENT_VERSION} dxlbootstrap==${DXL_BOOTSTRAP_VERSION} twine && \
pip install sphinx dxlclient==${DXL_CLIENT_VERSION} dxlbootstrap==${DXL_BOOTSTRAP_VERSION} twine
RUN pip3 install sphinx dxlclient==${DXL_CLIENT_VERSION} dxlbootstrap==${DXL_BOOTSTRAP_VERSION} twine jsonschema && \
pip install sphinx dxlclient==${DXL_CLIENT_VERSION} dxlbootstrap==${DXL_BOOTSTRAP_VERSION} twine jsonschema

COPY files/.bashrc /root
COPY files/vimrc.local /etc/vim
Expand Down

0 comments on commit 1f3f886

Please sign in to comment.