Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ RUN set -ex \
ninja-build \
&& rm -rf /var/lib/apt/lists/*

# Install newer version of cmake
RUN wget -qO - https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add -
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
RUN apt-get update
RUN set -ex && apt-get install -y --no-install-recommends --no-install-suggests cmake

# Copy SSH key for git private repos
# Need to have a private key wih no passphrase
ADD .ssh/id_rsa /root/.ssh/id_rsa
Expand All @@ -26,7 +32,7 @@ RUN chmod 600 /root/.ssh/id_rsa*
RUN ssh-keyscan -t rsa github.com > /root/.ssh/known_hosts

## VTK
ENV VTK_GIT_TAG=release
ENV VTK_GIT_TAG=v8.2.0

RUN set -ex \
&& mkdir -p /src/externals && cd /src/externals \
Expand Down