From ec4a3bd52f534e5a77d90ed9d1ccdda991980407 Mon Sep 17 00:00:00 2001 From: Mancvso Date: Thu, 9 Jul 2015 15:50:00 -0300 Subject: [PATCH 1/3] Update Dockerfile Updated Alpine version (3.2.1 is on it's way) --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1341b8a..45b6967 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM alpine:3.1 +FROM alpine:3.2 -RUN apk add -U alpine-sdk \ +RUN apk add -U alpine-sdk linux-headers \ && curl ftp://ftp.isc.org/isc/bind9/9.10.2/bind-9.10.2.tar.gz|tar -xzv \ && cd bind-9.10.2 \ && CFLAGS="-static" ./configure --without-openssl --disable-symtable \ && make \ && cp ./bin/dig/dig /usr/bin/ \ - && apk del alpine-sdk \ + && apk del alpine-sdk linux-headers \ && rm -rf bind-9.10.2/ CMD bash From bd570a7efd2b155e63f6b8ab37fb78454f74ff13 Mon Sep 17 00:00:00 2001 From: Mancvso Date: Fri, 31 Jul 2015 11:19:12 -0300 Subject: [PATCH 2/3] Update Dockerfile Delete cache for a smaller layer --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 45b6967..d713063 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN apk add -U alpine-sdk linux-headers \ && make \ && cp ./bin/dig/dig /usr/bin/ \ && apk del alpine-sdk linux-headers \ - && rm -rf bind-9.10.2/ + && rm -rf bind-9.10.2 / + && rm /var/cache/apk/* CMD bash From 343201e73e48d3a02c31275a3728dcbc47b7c2d1 Mon Sep 17 00:00:00 2001 From: Mancvso Date: Fri, 31 Jul 2015 17:01:20 -0300 Subject: [PATCH 3/3] Update Dockerfile Small typo (which blows out everything) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d713063..a68f75f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN apk add -U alpine-sdk linux-headers \ && make \ && cp ./bin/dig/dig /usr/bin/ \ && apk del alpine-sdk linux-headers \ - && rm -rf bind-9.10.2 / + && rm -rf bind-9.10.2 \ && rm /var/cache/apk/* CMD bash