Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

Commit 3bfb6cf

Browse files
committed
Update dnsmasq to 1.3; fix the multiarch build.
1 parent 679164a commit 3bfb6cf

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

dnsmasq/Changelog

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
- First AMD64-only dnsmasq container
33
## Version 1.2 (Wed June 8 2016 Girish Kalele <[email protected]>
44
- Multiple Architecture builds and upgraded to Alpine 3.4
5-
6-
7-
5+
## Version 1.3 (Fri June 11 2016 Lucas Käldström <[email protected]>)
6+
- Patched the multi-architecture images, so they'll work

dnsmasq/Dockerfile.cross

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ FROM BASEIMAGE
1616
MAINTAINER Girish Kalele <[email protected]>
1717
COPY dnsmasq.conf /etc/dnsmasq.conf
1818
COPY dnsmasq /usr/sbin/dnsmasq
19+
20+
# This is just a mkdir statement for /var/run in order to keep the complexity of the Makefile down
21+
WORKDIR /var/run
22+
WORKDIR /
1923
ENTRYPOINT ["/usr/sbin/dnsmasq", "--keep-in-foreground"]

dnsmasq/Makefile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,31 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
# Makefile for the Docker image gcr.io/google_containers/dnsmasq
15+
# Makefile for the Docker image gcr.io/google_containers/kube-dnsmasq-ARCH
1616
# MAINTAINER: Abhishek Shah <[email protected]>
1717
# If you update this image please bump the tag value before pushing.
1818
#
1919
# Usage:
20-
# [TAG=1.0] [REGISTRY=gcr.io/google_containers] [NAMESERVER=127.0.0.1#10053] make container
20+
# [TAG=1.3] [REGISTRY=gcr.io/google_containers] make (build|push)
2121

2222
# Default registry, arch and tag. This can be overwritten by arguments to make
23-
TAG?=1.2
23+
TAG?=1.3
2424
REGISTRY?=gcr.io/google_containers
2525
ARCH?=amd64
2626
KUBE_CROSS_IMAGE:=$(REGISTRY)/kube-cross:v1.6.2-2
2727
DNSMASQ_VERSION?=dnsmasq-2.76
2828
TEMP_DIR:=$(shell mktemp -d)
2929

30-
ifeq ($(ARCH),amd64)
31-
BASEIMAGE?=alpine:3.4
32-
else
33-
BASEIMAGE?=$(REGISTRY)/tiny-glibc-$(ARCH):1.0
34-
endif
35-
3630
ifeq ($(ARCH),arm)
31+
BASEIMAGE?=armel/busybox:glibc
3732
TRIPLE?=arm-linux-gnueabi
3833
endif
3934
ifeq ($(ARCH),arm64)
35+
BASEIMAGE?=aarch64/busybox:glibc
4036
TRIPLE?=aarch64-linux-gnu
4137
endif
4238
ifeq ($(ARCH),ppc64le)
39+
BASEIMAGE?=ppc64le/busybox:glibc
4340
TRIPLE?=powerpc64le-linux-gnu
4441
endif
4542

0 commit comments

Comments
 (0)