diff options
author | terminaldweller <devi@terminaldweller.com> | 2023-07-13 18:10:26 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2023-07-13 18:10:26 +0000 |
commit | b595ac2150e42a22e92b954188ae374d290b3f53 (patch) | |
tree | b5e9d5e421c6d266e669476e2a1dfa4e89383953 /terminaldweller.com/tor_bnc/Dockerfile | |
parent | update (diff) | |
download | scripts-b595ac2150e42a22e92b954188ae374d290b3f53.tar.gz scripts-b595ac2150e42a22e92b954188ae374d290b3f53.zip |
Diffstat (limited to 'terminaldweller.com/tor_bnc/Dockerfile')
-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"] |