Closed
Bug 1720875
Opened 4 years ago
Closed 4 years ago
Pontoon build fails in Docker on M1 MacBooks due to segfault in curl
Categories
(Webtools Graveyard :: Pontoon, defect, P3)
Tracking
(Not tracked)
RESOLVED
MOVED
People
(Reporter: eemeli, Assigned: eemeli)
Details
Attachments
(2 files)
The issue is mentioned in the Docker Desktop release notes:
On Apple Silicon in native
arm64containers, older versions oflibsslindebian:buster,ubuntu:20.04andcentos:8will segfault when connected to some TLS servers, for examplecurl https://dl.yarnpkg.com. The bug is fixed in newer versions oflibsslindebian:bullseye,ubuntu:21.04andfedora:35.
The Pontoon Docker image uses python:3.8-buster as a base, and apparantely all current python images are themselves based on buster images.
As a workaround, forcing the platform to linux/amd64 appears to allow the build to succeed, as it's then emulated:
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -5,6 +5,7 @@ version: "2"
services:
# Webapp
webapp:
+ platform: linux/amd64
build:
context: .
dockerfile: ./docker/Dockerfile
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → earo
| Assignee | ||
Updated•4 years ago
|
Status: NEW → ASSIGNED
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Priority: -- → P3
Comment 2•4 years ago
|
||
Comment 3•4 years ago
|
||
*This bug has been moved to GitHub.*
*Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → MOVED
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•