This issue was created automatically by a script.
Bug Reporter: @eemeli
CC: @mathjazz
The issue is mentioned in the Docker Desktop release notes:
On Apple Silicon in native arm64 containers, older versions of libssl in debian:buster, ubuntu:20.04 and centos:8 will segfault when connected to some TLS servers, for example curl https://dl.yarnpkg.com. The bug is fixed in newer versions of libssl in debian:bullseye, ubuntu:21.04 and fedora: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
This issue was created automatically by a script.
Bug 1720875
Bug Reporter: @eemeli
CC: @mathjazz
The issue is mentioned in the Docker Desktop release notes:
The Pontoon Docker image uses
python:3.8-busteras a base, and apparantely all currentpythonimages are themselves based onbusterimages.As a workaround, forcing the platform to
linux/amd64appears to allow the build to succeed, as it's then emulated: