This repository was archived by the owner on Apr 17, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -16,4 +16,8 @@ FROM BASEIMAGE
1616MAINTAINER Girish Kalele <
[email protected] >
1717COPY dnsmasq.conf /etc/dnsmasq.conf
1818COPY 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 /
1923ENTRYPOINT ["/usr/sbin/dnsmasq", "--keep-in-foreground"]
Original file line number Diff line number Diff line change 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
2424REGISTRY? =gcr.io/google_containers
2525ARCH? =amd64
2626KUBE_CROSS_IMAGE: =$(REGISTRY ) /kube-cross:v1.6.2-2
2727DNSMASQ_VERSION? =dnsmasq-2.76
2828TEMP_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-
3630ifeq ($(ARCH ) ,arm)
31+ BASEIMAGE?=armel/busybox:glibc
3732 TRIPLE? =arm-linux-gnueabi
3833endif
3934ifeq ($(ARCH ) ,arm64)
35+ BASEIMAGE?=aarch64/busybox:glibc
4036 TRIPLE? =aarch64-linux-gnu
4137endif
4238ifeq ($(ARCH ) ,ppc64le)
39+ BASEIMAGE?=ppc64le/busybox:glibc
4340 TRIPLE? =powerpc64le-linux-gnu
4441endif
4542
You can’t perform that action at this time.
0 commit comments