aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/tor_bnc/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-07-13 18:10:26 +0000
committerterminaldweller <devi@terminaldweller.com>2023-07-13 18:10:26 +0000
commitb595ac2150e42a22e92b954188ae374d290b3f53 (patch)
treeb5e9d5e421c6d266e669476e2a1dfa4e89383953 /terminaldweller.com/tor_bnc/Dockerfile
parentupdate (diff)
downloadscripts-b595ac2150e42a22e92b954188ae374d290b3f53.tar.gz
scripts-b595ac2150e42a22e92b954188ae374d290b3f53.zip
updateHEADmain
Diffstat (limited to 'terminaldweller.com/tor_bnc/Dockerfile')
-rw-r--r--terminaldweller.com/tor_bnc/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/terminaldweller.com/tor_bnc/Dockerfile b/terminaldweller.com/tor_bnc/Dockerfile
new file mode 100644
index 0000000..155349b
--- /dev/null
+++ b/terminaldweller.com/tor_bnc/Dockerfile
@@ -0,0 +1,12 @@
+FROM alpine:3.18
+
+ARG GOPROXY=https://goproxy.io
+RUN apk add --no-cache proxychains-ng git && git clone https://git.sr.ht/~emersion/soju /src && apk del git
+RUN apk add --no-cache go sqlite sqlite-libs sqlite-dev
+RUN apk add --no-cache git make && cd /src; GOFLAGS='-trimpath -tags=libsqlite3' make soju sojuctl && apk del make
+RUN chmod a+w /src/cmd/soju /src/cmd/sojuctl
+RUN mv /src/soju /src/sojuctl /src/sojudb /bin
+
+EXPOSE 6697
+
+ENTRYPOINT ["soju", "-config", "/data/config"]