Skip to content

Commit

Permalink
Merge pull request #1123 from shuairan/shuairan-patch-1
Browse files Browse the repository at this point in the history
Update glibc to 2.23-r1 (fixes CVE-2015-7547)
  • Loading branch information
tallclair committed Feb 24, 2016
2 parents ce3c662 + fc8cc89 commit 39fbd9f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions deploy/Dockerfile
@@ -1,12 +1,14 @@
FROM alpine:3.2
MAINTAINER dengnan@google.com vmarmol@google.com vishnuk@google.com jimmidyson@gmail.com

ENV GLIBC_VERSION "2.23-r1"

RUN apk add --update ca-certificates device-mapper && \
wget https://circle-artifacts.com/gh/andyshinn/alpine-pkg-glibc/8/artifacts/0/home/ubuntu/alpine-pkg-glibc/packages/x86_64/glibc-2.21-r2.apk && \
wget https://circle-artifacts.com/gh/andyshinn/alpine-pkg-glibc/8/artifacts/0/home/ubuntu/alpine-pkg-glibc/packages/x86_64/glibc-bin-2.21-r2.apk && \
apk add --allow-untrusted glibc-2.21-r2.apk glibc-bin-2.21-r2.apk && \
wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk && \
wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-bin-${GLIBC_VERSION}.apk && \
apk add --allow-untrusted glibc-${GLIBC_VERSION}.apk glibc-bin-${GLIBC_VERSION}.apk && \
apk add zfs-utils --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted && \
/usr/glibc/usr/bin/ldconfig /lib /usr/glibc/usr/lib && \
/usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib && \
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \
rm -rf /var/cache/apk/*

Expand Down

0 comments on commit 39fbd9f

Please sign in to comment.