Skip to content

Commit

Permalink
Merge pull request #286 from haoming29/fix-fail-build-on-arm
Browse files Browse the repository at this point in the history
Fix dev container build failure by specify base image platform
  • Loading branch information
jhiemstrawisc authored Oct 25, 2023
2 parents 497cd4d + c8baa6e commit 71f20c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion images/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

FROM hub.opensciencegrid.org/sciauth/scitokens-oauth2-server:release AS scitokens-oauth2-server
# We specify the platform as scitokens-oauth2-server didn't publish arm version and we don't want to
# fail on building this container on arm machine
FROM --platform=linux/amd64 hub.opensciencegrid.org/sciauth/scitokens-oauth2-server:release AS scitokens-oauth2-server

FROM almalinux:8

Expand Down

0 comments on commit 71f20c7

Please sign in to comment.