Skip to content

Commit f08fda5

Browse files
committed
include zlib1g-dev
Motivation: Any UNIX system requires zlib even for the most basic tasks so it's not a surprise the Swift images also include zlib1g-dev. Unfortunately, we missed shipping the development headers. That means that despite shipping zlib, we can't use it. Modification: Add zlib1g-dev to make the zlib binaries actually usable. Result: More programs will build using the Swift docker images.
1 parent 4e4468b commit f08fda5

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

4.2/ubuntu/16.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN apt-get -q update && \
1717
tzdata \
1818
git \
1919
libcurl4-openssl-dev \
20+
zlib1g-dev \
2021
pkg-config \
2122
&& update-alternatives --quiet --install /usr/bin/clang clang /usr/bin/clang-3.8 100 \
2223
&& update-alternatives --quiet --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.8 100 \

4.2/ubuntu/18.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1717
tzdata \
1818
git \
1919
libcurl4-openssl-dev \
20+
zlib1g-dev \
2021
pkg-config \
2122
&& update-alternatives --quiet --install /usr/bin/clang clang /usr/bin/clang-3.9 100 \
2223
&& update-alternatives --quiet --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.9 100 \

5.0/ubuntu/16.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN apt-get -q update && \
1414
binutils \
1515
libgcc-5-dev \
1616
libstdc++-5-dev \
17+
zlib1g-dev \
1718
libpython2.7 \
1819
tzdata \
1920
git \

5.0/ubuntu/18.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1414
binutils \
1515
libgcc-5-dev \
1616
libstdc++-5-dev \
17+
zlib1g-dev \
1718
libpython2.7 \
1819
tzdata \
1920
git \

5.1/ubuntu/16.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1313
binutils \
1414
libgcc-5-dev \
1515
libstdc++-5-dev \
16+
zlib1g-dev \
1617
libpython2.7 \
1718
tzdata \
1819
git \

5.1/ubuntu/18.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1313
binutils \
1414
libgcc-5-dev \
1515
libstdc++-5-dev \
16+
zlib1g-dev \
1617
libpython2.7 \
1718
tzdata \
1819
git \

nightly-5.2/ubuntu/16.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1313
binutils \
1414
libgcc-5-dev \
1515
libstdc++-5-dev \
16+
zlib1g-dev \
1617
libpython2.7 \
1718
tzdata \
1819
git \

nightly-5.2/ubuntu/18.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1313
binutils \
1414
libgcc-5-dev \
1515
libstdc++-5-dev \
16+
zlib1g-dev \
1617
libpython2.7 \
1718
tzdata \
1819
git \

nightly-master/ubuntu/16.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1313
binutils \
1414
libgcc-5-dev \
1515
libstdc++-5-dev \
16+
zlib1g-dev \
1617
libpython2.7 \
1718
tzdata \
1819
git \

nightly-master/ubuntu/18.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1313
binutils \
1414
libgcc-5-dev \
1515
libstdc++-5-dev \
16+
zlib1g-dev \
1617
libpython2.7 \
1718
tzdata \
1819
git \

0 commit comments

Comments
 (0)