Browse code

Dockerfile.s390x: Change base to debian jessie

With commit ee59f25c2d503cd68262679250387e140171c685 we changed from
gcc-go to golang 1.7. By switching to debian we can reduce the base
layer from 1.4 GB to around 130 MB.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>

Dominik Dingel authored on 2016/12/15 18:40:33
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@
15 15
 # the case. Therefore, you don't have to disable it anymore.
16 16
 #
17 17
 
18
-FROM s390x/gcc:6.1
18
+FROM s390x/debian:jessie
19 19
 
20 20
 # Packaged dependencies
21 21
 RUN apt-get update && apt-get install -y \
... ...
@@ -50,15 +50,6 @@ RUN apt-get update && apt-get install -y \
50 50
 	vim-common \
51 51
 	--no-install-recommends
52 52
 
53
-# glibc in Debian has a bug specific to s390x that won't be fixed until Debian 8.6 is released
54
-# - https://github.com/docker/docker/issues/24748
55
-# - https://sourceware.org/git/?p=glibc.git;a=commit;h=890b7a4b33d482b5c768ab47d70758b80227e9bc
56
-# - https://sourceware.org/git/?p=glibc.git;a=commit;h=2e807f29595eb5b1e5d0decc6e356a3562ecc58e
57
-RUN echo 'deb http://httpredir.debian.org/debian jessie-proposed-updates main' >> /etc/apt/sources.list.d/pu.list \
58
-	&& apt-get update \
59
-	&& apt-get install -y libc6 \
60
-	&& rm -rf /var/lib/apt/lists/*
61
-
62 53
 # Install seccomp: the version shipped in jessie is too old
63 54
 ENV SECCOMP_VERSION 2.3.1
64 55
 RUN set -x \