Skip to content

Commit

Permalink
Fix dev container build failure by specify base image platform
Browse files Browse the repository at this point in the history
  • Loading branch information
haoming29 committed Oct 25, 2023
1 parent 497cd4d commit c8baa6e
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 c8baa6e

Please sign in to comment.