-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Laradock does not work for users with Apple Silicon processor (yarn missing in workspace) #3034
Comments
Looks like Sail has the same issue - they went for the Ubuntu upgrade to 21.04 to solve: |
Hi 👋 this issue has been automatically marked as |
I too would like to know how this could be fixed in Laradock. I just received my M! MacBook Pro, and just discovered that none of my local dev environments work yet. |
+1 for this issue, can't get laradock to work |
+1 |
1 similar comment
+1 |
Hi 👋 this issue has been automatically marked as |
Hi again 👋 we would like to inform you that this issue has been automatically |
Description:
The libssl library version used on Ubuntu 20.04 will segfault when connected to some TLS servers, for example
curl https://dl.yarnpkg.com
yarn not being available after build is the most obvious symptom of the problem.
In the .env file with all defaults set, including
WORKSPACE_INSTALL_YARN=true
the build appears to work fine (no errors).However, when connected to the workspace container, running any
yarn
command will result in the errorbash: yarn: command not found
If the user runs:
curl https://dl.yarnpkg.com
then the output isSegmentation fault
This appears to be happening during build although its not registered as an error:
curl -o- -L https://yarnpkg.com/install.sh
Segmentation fault
openssl version
--> OpenSSL 1.1.1f 31 Mar 2020This is a known fault recorded in the Docker for Mac release notes:
https://docs.docker.com/docker-for-mac/release-notes/#known-issues
So Laradock now no longer works for people using Apple Silicon and will continue to not work until the base image is updated to
ubuntu:21.04
unless anyone can work out a workaround.Note - it was working when the base image used ubuntu:18.04
Expected Behavior:
When connected to the workspace container bash shell, executing
yarn
should trigger yarn if it was set to be installed in the .env fileRunning
curl https://dl.yarnpkg.com
the output should not beSegmentation fault
Context information:
Output of
git rev-parse HEAD
Output of
docker version
Output of
docker-compose version
System info: Mac, Windows or Linux. Include which disto/version
Steps to reproduce the issue:
On a Mac Silicon computer:
yarn
-- output currentlybash: yarn: command not found
curl https://dl.yarnpkg.com
-- output currentlySegmentation fault
The text was updated successfully, but these errors were encountered: