diff options
| author | xTITUSMAXIMUSX <62310795+xTITUSMAXIMUSX@users.noreply.github.com> | 2023-02-13 01:11:48 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-13 02:11:48 -0500 |
| commit | b26b895ed568a446b5697bb68cb7b3c18b360052 (patch) | |
| tree | 35246493be32c6c1cdedd045cf411a8dfa796e5a /docker | |
| parent | b8710b201f9a95f137545fecd5197ddee8080c6e (diff) | |
| download | BedrockConnect-b26b895ed568a446b5697bb68cb7b3c18b360052.tar.gz BedrockConnect-b26b895ed568a446b5697bb68cb7b3c18b360052.tar.bz2 BedrockConnect-b26b895ed568a446b5697bb68cb7b3c18b360052.zip | |
Adding bind9 docker and updating scripts (#367)
* Updating
* update script
* Update install-bind.sh
* Fixed additional-from-cache no issue
* Add docker install script
* update for new install script
* Add null output to service start
* Trying different install method
* Added exit code 0
* testing exit off
* Fixed install method
* Inserted args on build for IP addresses
* Updated URL to Pugmatt github
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/bedrockconnect/Dockerfile (renamed from docker/Dockerfile) | 0 | ||||
| -rw-r--r-- | docker/bind9/Dockerfile | 18 | ||||
| -rw-r--r-- | docker/docker-compose.yml | 14 |
3 files changed, 29 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/bedrockconnect/Dockerfile index ca8157d..ca8157d 100644 --- a/docker/Dockerfile +++ b/docker/bedrockconnect/Dockerfile diff --git a/docker/bind9/Dockerfile b/docker/bind9/Dockerfile new file mode 100644 index 0000000..97fe7a8 --- /dev/null +++ b/docker/bind9/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:jammy + +RUN apt update\ + && apt dist-upgrade -y\ + && apt install wget -y + + +#Setting for future env vars later maybe? +ARG BCIP +ARG NSIP + +#download install script +RUN mkdir -p /docker/bind +RUN wget -O /docker/bind/docker-install-bind.sh https://raw.githubusercontent.com/Pugmatt/BedrockConnect/master/scripts/docker-install-bind.sh +RUN bash /docker/bind/docker-install-bind.sh ${BCIP} ${NSIP} + +#run forever +CMD ["/bin/bash", "-c", "/etc/init.d/named start; while :; do sleep 10; done"]
\ No newline at end of file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0ff6c5f..0790e10 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,6 +1,14 @@ -version: "2" +version: "3" services: - app: - build: . + bedrockconnect: + build: ./bedrockconnect ports: - "19132:19132/udp" + bind9: + build: + context: ./bind9 + args: + BCIP: 104.238.130.180 + NSIP: 104.238.130.180 + ports: + - "53:53/udp" |
