Skip to content

Commit

Permalink
Merge pull request #309 from prameshj/dnsmasq-fix
Browse files Browse the repository at this point in the history
Change dnsmasq compile-image to debian.
  • Loading branch information
k8s-ci-robot authored Jun 5, 2019
2 parents e7a6ef7 + 7e6cef3 commit 2bcb104
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/dnsmasq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export DOCKER_CLI_EXPERIMENTAL=enabled

ifeq ($(ARCH),amd64)
BASEIMAGE ?= k8s.gcr.io/debian-base:v1.0.0
COMPILE_IMAGE := alpine:3.8
COMPILE_IMAGE := k8s.gcr.io/debian-base:v1.0.0
else ifeq ($(ARCH),arm)
BASEIMAGE ?= k8s.gcr.io/debian-base-arm:v1.0.0
TRIPLE ?= arm-linux-gnueabihf
Expand Down Expand Up @@ -136,8 +136,8 @@ ifeq ($(ARCH),amd64)
-v `pwd`:/src \
$(COMPILE_IMAGE) \
/bin/sh -c \
"apk update \
&& apk add alpine-sdk xz libcap-dev \
"apt-get update \
&& apt-get -y install build-essential libcap-dev \
&& cd /build/$(DNSMASQ_VERSION) \
&& make -j \
&& cp src/dnsmasq /build/docker/dnsmasq" $(VERBOSE_OUTPUT)
Expand Down

0 comments on commit 2bcb104

Please sign in to comment.