Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use debian bullseye as base image for ddev-webimage, downgrades nginx to 1.18.0, fixes #3116 #3102

Merged
merged 2 commits into from Jul 28, 2021

Conversation

rfay
Copy link
Member

@rfay rfay commented Jul 14, 2021

The Problem/Issue/Bug:

Platformsh/platform SEGV, Acquia ACLI SEGV, curl to certain hosts. Affects only Mac M1 users

On macOS M1 architectures, the use of curl on some websites causes a SEGV in the web container, see docker desktop 3.4.0 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

How this PR Solves The Problem:

Manual Testing Instructions:

People who are having SEGV trouble on Mac M1 can just add

webimage: drud/ddev-webserver:20210714_bullseye_web_image

to their .ddev/config.yaml (or to a .ddev/config.m1.yaml)

And it should solve problems with curl, the acli program from Acquia, and the platform tool from Platform.sh

Automated Testing Overview:

Related Issue Link(s):

Release/Deployment notes:

  • I was unable to build the upstream image in ddev-images using CircleCI - had to build and push it manually on arm64 M1 machine. Very strange.
  • Because of the downgrade of nginx from 1.20 to 1.18, I don't think this can be released until those packages are available

@gitpod-io
Copy link

gitpod-io bot commented Jul 14, 2021

@rfay
Copy link
Member Author

rfay commented Jul 24, 2021

I think the path forward for this one is to use the bullseye image only for mac M1 right now, we'll have to build two images.

Also looks like it picked up some inappropriate commits from another PR.

@rfay rfay changed the title Use debian bullseye as base image for ddev-webimage, downgrades nginx to 1.18.0 Use debian bullseye as base image for ddev-webimage, downgrades nginx to 1.18.0, fixes #3116 Jul 24, 2021
@rfay rfay force-pushed the 20210714_bullseye_web_image branch from 598f04b to dfe9783 Compare July 28, 2021 19:58
@rfay rfay marked this pull request as ready for review July 28, 2021 19:58
@rfay rfay merged commit 334f76e into ddev:master Jul 28, 2021
@rfay rfay deleted the 20210714_bullseye_web_image branch July 28, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant