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

Docker images don't build on M1 mac #1196

Open
bcipriano opened this issue Sep 15, 2022 · 0 comments · May be fixed by #1262
Open

Docker images don't build on M1 mac #1196

bcipriano opened this issue Sep 15, 2022 · 0 comments · May be fixed by #1262
Assignees
Labels
bug Something isn't working

Comments

@bcipriano
Copy link
Collaborator

bcipriano commented Sep 15, 2022

Subissue of #1204.

Describe the bug
OpenCue Docker images fail to build on M1 mac due to the arm64 architecture. Upstream images are pulled with arm64 architecture by default and this causes a variety of issues, mostly around dependencies not existing for that platform.

Cuebot image fails with:

Step 1/29 : FROM gradle:6.0.1-jdk11 AS build
6.0.1-jdk11: Pulling from library/gradle
no matching manifest for linux/arm64/v8 in the manifest list entries

CueGUI image fails to install the PySide2 dependency as it doesn't exist for arm platforms. See #1194.

To Reproduce
Run docker build commands on an M1 mac.

docker build -t opencue/cuebot -f cuebot/Dockerfile .
docker build -t opencue/cuegui -f cuegui/Dockerfile .

Expected behavior
Images should build without error and be as consistent as possible across platforms.

Version Number
e7c38c6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant