initial commit
This commit is contained in:
parent
43359c2aff
commit
99c3e42c13
13
Dockerfile
13
Dockerfile
@ -1,11 +1,12 @@
|
|||||||
FROM debian
|
FROM debian:sid
|
||||||
|
|
||||||
ENV TOR_VERSION=8.5a3
|
ENV TOR_VERSION=8.5a12
|
||||||
|
ENV LANGTOR=es-ES
|
||||||
# Via https://dist.torproject.org/torbrowser/$TOR_VERSION/sha256sums-signed-build.txt
|
# Via https://dist.torproject.org/torbrowser/$TOR_VERSION/sha256sums-signed-build.txt
|
||||||
ENV SHA256_CHECKSUM=5079b8cf7ca0e0430c324dcb25257e39e8a8a98fc2aa6c22aadaf2981ac1adc2
|
ENV SHA256_CHECKSUM=0467158996ebdd0b653691a98704219ed14be2f09912a2ebd3d4520319d72cca
|
||||||
ENV LANG=C.UTF-8
|
ENV LANG=es-ES.UTF-8
|
||||||
ENV RELEASE_FILE=tor-browser-linux64-${TOR_VERSION}_en-US.tar.xz
|
ENV RELEASE_FILE=tor-browser-linux64-${TOR_VERSION}_$LANGTOR.tar.xz
|
||||||
ENV RELEASE_KEY=0x4E2C6E8793298290
|
ENV RELEASE_KEY=0xEB774491D9FF06E2
|
||||||
ENV RELEASE_URL=https://dist.torproject.org/torbrowser/${TOR_VERSION}/${RELEASE_FILE}
|
ENV RELEASE_URL=https://dist.torproject.org/torbrowser/${TOR_VERSION}/${RELEASE_FILE}
|
||||||
ENV PATH=$PATH:/usr/local/bin/Browser
|
ENV PATH=$PATH:/usr/local/bin/Browser
|
||||||
|
|
||||||
|
20
README.md
20
README.md
@ -1,14 +1,28 @@
|
|||||||
# tor-browser
|
# tor-browser
|
||||||
|
|
||||||
This repo defines the `hkjn/tor-browser` Docker image.
|
This repo defines the `tor-browser` Docker image updated and cloned from [hkjn](https://github.com/hkjn/tor-browser).
|
||||||
|
|
||||||
|
## Install:
|
||||||
|
|
||||||
|
- Need `docker`
|
||||||
|
|
||||||
|
```
|
||||||
|
./build.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage:
|
||||||
|
|
||||||
You can run tor-browser in a container with a command like:
|
You can run tor-browser in a container with a command like:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
./tor_browser.sh
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
docker run -it --rm --name tor-browser \
|
docker run -it --rm --name tor-browser \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
|
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
|
||||||
-e DISPLAY=unix$DISPLAY \
|
-e DISPLAY=unix$DISPLAY \
|
||||||
hkjn/tor-browser
|
tb
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to specify a custom `torrc` file, that can be done with:
|
If you want to specify a custom `torrc` file, that can be done with:
|
||||||
@ -18,5 +32,5 @@ docker run -it --rm --name tor-browser \
|
|||||||
-e TORRC_PATH=/conf/torrc \
|
-e TORRC_PATH=/conf/torrc \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
|
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
|
||||||
-e DISPLAY=unix$DISPLAY \
|
-e DISPLAY=unix$DISPLAY \
|
||||||
hkjn/tor-browser
|
tb
|
||||||
```
|
```
|
22
README.md.orig
Normal file
22
README.md.orig
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# tor-browser
|
||||||
|
|
||||||
|
This repo defines the `hkjn/tor-browser` Docker image.
|
||||||
|
|
||||||
|
You can run tor-browser in a container with a command like:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker run -it --rm --name tor-browser \
|
||||||
|
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
|
||||||
|
-e DISPLAY=unix$DISPLAY \
|
||||||
|
hkjn/tor-browser
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to specify a custom `torrc` file, that can be done with:
|
||||||
|
```
|
||||||
|
docker run -it --rm --name tor-browser \
|
||||||
|
-v /host/dir/containing/torrc:/conf:ro \
|
||||||
|
-e TORRC_PATH=/conf/torrc \
|
||||||
|
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
|
||||||
|
-e DISPLAY=unix$DISPLAY \
|
||||||
|
hkjn/tor-browser
|
||||||
|
```
|
@ -7,4 +7,4 @@ docker run -it --rm \
|
|||||||
--name tor-browser \
|
--name tor-browser \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
|
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
|
||||||
-e DISPLAY=unix$DISPLAY \
|
-e DISPLAY=unix$DISPLAY \
|
||||||
hkjn/tor-browser
|
tb:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user