* v0.6.0-rc.1

* v0.6.0-rc.2

* v0.6.0-rc.3

* v0.6.0-rc.4

* Much smaller Tor container image

* v0.6.0
This commit is contained in:
kexkey
2021-02-17 16:26:39 -05:00
committed by GitHub
parent dfc6bbbdbc
commit 4db2ac351b
6 changed files with 41 additions and 32 deletions

View File

@@ -1,4 +1,4 @@
FROM alpine:3.12
FROM alpine:3.12 AS builder
ARG TOR_VER=0.4.4.5
ARG TORGZ=https://dist.torproject.org/tor-$TOR_VER.tar.gz
@@ -17,6 +17,15 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 0xFE43009C4607B1FB 0x6AF
&& tar xfz tor-$TOR_VER.tar.gz && cd tor-$TOR_VER \
&& ./configure && make install
FROM alpine:3.12
RUN apk --no-cache add --update \
su-exec
COPY --from=builder /usr/local/bin/ /usr/local/bin/
COPY --from=builder /lib/ /lib/
COPY --from=builder /usr/lib/ /usr/lib/
ENTRYPOINT ["su-exec"]
# docker run -it --rm --network wbnet -v /home/debian/whatever/tor:/tor tor