Skip to content

Commit

Permalink
BF: Explicitly build for the linux platform.
Browse files Browse the repository at this point in the history
This resolves situations where you are building this (for example)
on a mac M1 machine, which builds images that can't be run in linux.
  • Loading branch information
arokem committed Mar 19, 2024
1 parent 7644eb7 commit 28604cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudknot/templates/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
###############################################################################

# Use official python base image
FROM ${base_image}
FROM --platform=linux/amd64 ${base_image}

# Install python dependencies
COPY requirements.txt /tmp/
Expand Down

0 comments on commit 28604cf

Please sign in to comment.