Skip to content

Commit

Permalink
Update Dockerfile and kubernetes spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Garofalo committed Sep 18, 2017
1 parent 1b4cb5a commit 61691fc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 40 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM debian:jessie-slim
FROM ubuntu:zesty
MAINTAINER [email protected]

ENV BIND_USER=bind \
BIND_VERSION=1:9.9.5 \
DATA_DIR=/data

RUN rm -rf /etc/apt/apt.conf.d/docker-gzip-indexes \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y wget bind9=${BIND_VERSION}* bind9-host=${BIND_VERSION}* dnsutils \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y wget bind9* bind9-host* dnsutils \
&& rm -rf /var/lib/apt/lists/*

COPY srvzone /srvzone
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: build

build:
@docker build --tag=sameersbn/bind .
@docker build --tag=einyx/bind .
17 changes: 17 additions & 0 deletions kubernetes/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: bind
spec:
revisionHistoryLimit: 4
template:
metadata:
labels:
app: bind
spec:
hostNetwork: true
containers:
- name: bind
image: einyx/bind:0.2
imagePullPolicy: Always

22 changes: 0 additions & 22 deletions kubernetes/pod.yml

This file was deleted.

14 changes: 0 additions & 14 deletions kubernetes/service.yml

This file was deleted.

0 comments on commit 61691fc

Please sign in to comment.