Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cecylia Bocovich
probetest
Commits
dbf61138
Commit
dbf61138
authored
Jul 21, 2021
by
Cecylia Bocovich
Browse files
Clean up Dockerfile
parent
7727ea7d
Changes
1
Show whitespace changes
Inline
Side-by-side
docker/Dockerfile
View file @
dbf61138
FROM
debian:buster-slim
LABEL
maintainer="Cecylia Bocovich <cohosh@torproject.org>"
#install python
RUN
apt-get update
&&
apt-get
install
-y
git wget tcpdump
\
python3 python3-stem tor obfs4proxy
python3 python3-stem tor obfs4proxy
&&
apt-get clean
#install Go
RUN
wget https://golang.org/dl/go1.15.14.linux-amd64.tar.gz
&&
\
...
...
@@ -12,7 +14,8 @@ ENV PATH=$PATH:/usr/local/go/bin
#install snowflake
RUN
git clone https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
\
&&
cd
snowflake/client
&&
go get
-d
&&
go build
&&
cp
client /usr/bin/snowflake
&&
cd
snowflake/client
&&
go get
-d
&&
go build
&&
mv
client /usr/bin/snowflake
\
&&
cd
-
&&
rm
-rf
snowflake
RUN
git clone https://github.com/cohosh/bridgetest.git
&&
\
cd
bridgetest/stun-test
&&
go get
-d
&&
go build
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment