[tor-bugs] #33461 [Circumvention/Obfs4]: Multiarch docker obfs4 bridge

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 27 23:06:48 UTC 2020


#33461: Multiarch docker obfs4 bridge
--------------------------------------+------------------------
 Reporter:  thymbahutymba             |          Owner:  (none)
     Type:  enhancement               |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Circumvention/Obfs4       |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  docker, obfs4, multiarch  |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+------------------------

Comment (by thymbahutymba):

 I took the Dokerfile from phw repository and make the few modifications
 required in order to build obfs4-bridge image for different architectures.
 I had some problem with curl so I changed it with wget.

 First of all the images are built:
 {{{
 docker build . -f Dockerfile -t thymbahutymba/obfs4-bridge:x86_64
 docker build . -f Dockerfile.arm64 -t thymbahutymba/obfs4-bridge:arm64
 docker build . -f Dockerfile.arm -t thymbahutymba/obfs4-bridge:arm
 }}}

 Which are pushed:
 {{{
 docker push thymbahutymba/obfs4-bridge:x86_64
 docker push thymbahutymba/obfs4-bridge:arm64
 docker push thymbahutymba/obfs4-bridge:arm
 }}}

 Finally there is the creation and pushing of the manifest:
 {{{
 docker manifest create thymbahutymba/obfs4-bridge:latest
 thymbahutymba/obfs4-bridge:x86_64 thymbahutymba/obfs4-bridge:arm64
 thymbahutymba/obfs4-bridge:arm
 docker manifest push thymbahutymba/obfs4-bridge:latest
 }}}
 What's result can be seen at
 https://hub.docker.com/r/thymbahutymba/obfs4-bridge/tags?page=1 which I
 created for demostration purpose.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33461#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list