Makefile and siverten/ dockerfiles
This commit is contained in:
parent
da03dbca37
commit
c116be2f1c
11
Makefile
Normal file
11
Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
contexts = siverten/bind9 siverten/oxen
|
||||
|
||||
siverten/bind9 :
|
||||
docker build siverten/bind9
|
||||
siverten/oxen :
|
||||
docker build siverten/oxen
|
||||
|
||||
build : $(contexts)
|
||||
./sh/build.sh $(contexts)
|
||||
push : $(contexts)
|
||||
./sh/push.sh $(contexts)
|
@ -3,6 +3,9 @@
|
||||
Only Dockerfiles for build images so far.
|
||||
Will most certanly put some other useful Dockerfiles here later.
|
||||
|
||||
## The sh folder
|
||||
Contians a script and symlinks for using the Makefile.
|
||||
|
||||
## NOTE
|
||||
To make things easy for myself I've added a cheecky siverten/ folder
|
||||
for stuff I've got on [DockerHub](https://hub.docker.com/).
|
||||
|
1
sh/build.sh
Symbolic link
1
sh/build.sh
Symbolic link
@ -0,0 +1 @@
|
||||
docker.sh
|
10
sh/docker.sh
Executable file
10
sh/docker.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
op=`basename $0 .sh`
|
||||
for context in $*; do
|
||||
if [ "$op" == "build" ]; then
|
||||
extra=" -t $context:latest"
|
||||
else
|
||||
extra=":latest"
|
||||
fi
|
||||
docker $op $context$extra
|
||||
done
|
1
sh/push.sh
Symbolic link
1
sh/push.sh
Symbolic link
@ -0,0 +1 @@
|
||||
docker.sh
|
9
siverten/README.md
Normal file
9
siverten/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Docker files for siverten/ docker images on the DockerHub registry!
|
||||
|
||||
### bind9
|
||||
Simple alpine based bind9 docker image.
|
||||
|
||||
### oxen
|
||||
A bit more bloated debian based docker image for running nodes
|
||||
on the oxen/loki crypto network.
|
||||
|
6
siverten/bind9/Dockerfile
Normal file
6
siverten/bind9/Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM alpine:3.12
|
||||
|
||||
RUN apk --update --no-cache add bind bind-dnssec-tools
|
||||
EXPOSE 53
|
||||
|
||||
CMD ["named", "-c", "/etc/bind/named.conf", "-g", "-u", "named"]
|
12
siverten/oxen/Dockerfile
Normal file
12
siverten/oxen/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM debian:10
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y curl
|
||||
|
||||
RUN curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
|
||||
RUN echo "deb https://deb.oxen.io buster main" | tee /etc/apt/sources.list.d/oxen.list
|
||||
|
||||
RUN apt update -y && apt upgrade -y
|
||||
RUN apt install -y oxen-service-node
|
||||
|
||||
CMD [ "oxend", "--non-interactive" ]
|
Loading…
x
Reference in New Issue
Block a user