Skip to content

Commit

Permalink
ENH: Remove system zlib from container
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa committed Aug 29, 2023
1 parent 9043957 commit b617e85
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ RUN apt-get update \
ninja-build \
git \
software-properties-common \
wget \
zlib1g-dev
wget

RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \
| apt-key add - \
Expand Down Expand Up @@ -52,9 +51,7 @@ ANTs Citation: https://pubmed.ncbi.nlm.nih.gov/24879923"
ENV PATH="/opt/ants/bin:$PATH" \
LD_LIBRARY_PATH="/opt/ants/lib:$LD_LIBRARY_PATH"
RUN apt-get update \
&& apt install -y --no-install-recommends \
bc \
zlib1g-dev \
&& apt install -y --no-install-recommends bc \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down

0 comments on commit b617e85

Please sign in to comment.