diff options
Diffstat (limited to '')
-rw-r--r-- | terminaldweller.com/tor_bnc/Dockerfile | 12 |
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"] |