Opened 7 months ago

Closed 6 months ago

#32860 closed defect (implemented)

Bridge Dockerfile for Raspberry Pi 3

Reported by: qdii Owned by: phw
Priority: Medium Milestone:
Component: Core Tor Version:
Severity: Normal Keywords: docker, s30-o24a2
Cc: phw@… Actual Points: 0.2
Parent ID: #31281 Points: 0.5
Reviewer: cohosh Sponsor: Sponsor30-can

Description

It would be great to see support for these devices, as they are getting more and more popular.

I can provide a Dockerfile for a Bridge+obfs4 for Raspberry Pi 3, based on phw@ work

Child Tickets

Attachments (1)

Dockerfile (1.3 KB) - added by qdii 7 months ago.
Dockerfile for Rpi3

Download all attachments as: .zip

Change History (8)

Changed 7 months ago by qdii

Attachment: Dockerfile added

Dockerfile for Rpi3

comment:1 Changed 7 months ago by phw

Thanks for providing a Docker file! It looks like your file changed FROM debian:stable to FROM debian:buster-slim and removed libcap2-bin from the list of installed packages. I wasn't aware of these "slim" images but that's something we may want to incorporate in our existing Docker file. Why did you remove libcap2-bin though? Is it not available in the slim image?

comment:2 Changed 7 months ago by qdii

I didn't remove libcap2-bin but added it. I think it's missing from the original Dockerfile, but pulled by the base image.

comment:3 Changed 6 months ago by phw

Keywords: s30-o24a2 added
Parent ID: #31281
Points: 0.5
Sponsor: Sponsor30-can

comment:4 in reply to:  2 Changed 6 months ago by phw

Owner: set to phw
Status: newassigned

Replying to qdii:

I didn't remove libcap2-bin but added it. I think it's missing from the original Dockerfile, but pulled by the base image.


Oh, right. I like your patch because it reduces the image size from ~120 MB to ~70 MB. Other than that, we still need to cross-compile the Docker images for ARM, right? We have #33088 for that purpose.

comment:5 Changed 6 months ago by phw

Reviewer: cohosh
Status: assignedneeds_review

Here's a merge request that implements qdii's suggestion:
https://dip.torproject.org/torproject/anti-censorship/docker-obfs4-bridge/merge_requests/1

Once this is merged, we can take care of the cross-architecture builds over at #33088.

comment:6 Changed 6 months ago by cohosh

Status: needs_reviewmerge_ready

Looks good!

comment:7 Changed 6 months ago by phw

Actual Points: 0.2
Resolution: implemented
Status: merge_readyclosed

Merged in commit b3b95734. Thanks cohosh and qdii!

Note: See TracTickets for help on using tickets.