commit
508bc5a17c
|
@ -223,15 +223,15 @@ jobs:
|
||||||
name: Launch bind container
|
name: Launch bind container
|
||||||
command: docker run --name bind -d --net testnet sameersbn/bind:${CIRCLE_TAG:-latest}
|
command: docker run --name bind -d --net testnet sameersbn/bind:${CIRCLE_TAG:-latest}
|
||||||
- run:
|
- run:
|
||||||
name: Wait for container bootup
|
name: Wait for bootup
|
||||||
command: sleep 15
|
command: sleep 15
|
||||||
- run:
|
- run:
|
||||||
name: Container info
|
name: Container info
|
||||||
command: docker ps -a
|
command: docker ps
|
||||||
- run:
|
- run:
|
||||||
name: Test image
|
name: Test image
|
||||||
command: |
|
command: |
|
||||||
docker run --rm --net testnet sameersbn/bind:${CIRCLE_TAG:-latest} host www.google.com bind
|
docker run --rm --net testnet sameersbn/bind:${CIRCLE_TAG:-latest} host www.google.com bind
|
||||||
|
|
||||||
publish-dockerhub:
|
publish-dockerhub:
|
||||||
executor: docker/machine
|
executor: docker/machine
|
||||||
|
@ -281,7 +281,7 @@ workflows:
|
||||||
jobs:
|
jobs:
|
||||||
- shellcheck/check:
|
- shellcheck/check:
|
||||||
name: shellcheck
|
name: shellcheck
|
||||||
ignore: SC2086,SC2181
|
ignore: SC2086,SC2181,SC2124
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/
|
only: /^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
FROM ubuntu:bionic-20200403 AS add-apt-repositories
|
FROM ubuntu:focal-20200423 AS add-apt-repositories
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg \
|
||||||
&& apt-key adv --fetch-keys http://www.webmin.com/jcameron-key.asc \
|
&& apt-key adv --fetch-keys http://www.webmin.com/jcameron-key.asc \
|
||||||
&& echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
|
&& echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
|
||||||
|
|
||||||
FROM ubuntu:bionic-20200403
|
FROM ubuntu:focal-20200423
|
||||||
|
|
||||||
LABEL maintainer="sameer@damagehead.com"
|
LABEL maintainer="sameer@damagehead.com"
|
||||||
|
|
||||||
ENV BIND_USER=bind \
|
ENV BIND_USER=bind \
|
||||||
BIND_VERSION=9.11.3 \
|
BIND_VERSION=9.16.1 \
|
||||||
WEBMIN_VERSION=1.941 \
|
WEBMIN_VERSION=1.941 \
|
||||||
DATA_DIR=/data
|
DATA_DIR=/data
|
||||||
|
|
||||||
|
|
12
README.md
12
README.md
|
@ -1,6 +1,6 @@
|
||||||
[](https://circleci.com/gh/sameersbn/docker-bind) [](https://quay.io/repository/sameersbn/bind)
|
[](https://circleci.com/gh/sameersbn/docker-bind) [](https://quay.io/repository/sameersbn/bind)
|
||||||
|
|
||||||
# sameersbn/bind:9.11.3-20200507
|
# sameersbn/bind:9.16.1-20200524
|
||||||
|
|
||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
|
@ -49,7 +49,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
|
||||||
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/bind)
|
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/bind)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker pull sameersbn/bind:9.11.3-20200507
|
docker pull sameersbn/bind:9.16.1-20200524
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively you can build the image yourself.
|
Alternatively you can build the image yourself.
|
||||||
|
@ -66,7 +66,7 @@ Start BIND using:
|
||||||
docker run --name bind -d --restart=always \
|
docker run --name bind -d --restart=always \
|
||||||
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
||||||
--volume /srv/docker/bind:/data \
|
--volume /srv/docker/bind:/data \
|
||||||
sameersbn/bind:9.11.3-20200507
|
sameersbn/bind:9.16.1-20200524
|
||||||
```
|
```
|
||||||
|
|
||||||
*Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)*
|
*Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)*
|
||||||
|
@ -85,7 +85,7 @@ You can customize the launch command of BIND server by specifying arguments to `
|
||||||
docker run --name bind -it --rm \
|
docker run --name bind -it --rm \
|
||||||
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
||||||
--volume /srv/docker/bind:/data \
|
--volume /srv/docker/bind:/data \
|
||||||
sameersbn/bind:9.11.3-20200507 -h
|
sameersbn/bind:9.16.1-20200524 -h
|
||||||
```
|
```
|
||||||
|
|
||||||
## Persistence
|
## Persistence
|
||||||
|
@ -124,7 +124,7 @@ To upgrade to newer releases:
|
||||||
1. Download the updated Docker image:
|
1. Download the updated Docker image:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker pull sameersbn/bind:9.11.3-20200507
|
docker pull sameersbn/bind:9.16.1-20200524
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Stop the currently running image:
|
2. Stop the currently running image:
|
||||||
|
@ -144,7 +144,7 @@ To upgrade to newer releases:
|
||||||
```bash
|
```bash
|
||||||
docker run -name bind -d \
|
docker run -name bind -d \
|
||||||
[OPTIONS] \
|
[OPTIONS] \
|
||||||
sameersbn/bind:9.11.3-20200507
|
sameersbn/bind:9.16.1-20200524
|
||||||
```
|
```
|
||||||
|
|
||||||
## Shell Access
|
## Shell Access
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: '2'
|
||||||
services:
|
services:
|
||||||
bind:
|
bind:
|
||||||
restart: always
|
restart: always
|
||||||
image: sameersbn/bind:9.11.3-20200507
|
image: sameersbn/bind:9.16.1-20200524
|
||||||
ports:
|
ports:
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
- "53:53/tcp"
|
- "53:53/tcp"
|
||||||
|
|
Loading…
Reference in New Issue