-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile and kubernetes spec
- Loading branch information
Alessio Garofalo
committed
Sep 18, 2017
1 parent
1b4cb5a
commit 61691fc
Showing
5 changed files
with
20 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.