Skip to content

Commit

Permalink
always build linux/amd64 images
Browse files Browse the repository at this point in the history
you can also specify this (maybe?) in challenge.yaml and definitely in
your Dockerfile, `FROM --platform=linux/amd64 ubuntu:22.04 AS build`,
but cmon... who's ever building a non x86 chal?
  • Loading branch information
Feyorsh committed Jun 28, 2024
1 parent 4c3a1ab commit 72df9ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rcds/challenge/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def _build(self) -> None:
buildargs=self.buildargs,
pull=True,
rm=True,
platform="linux/amd64",
)
self.project.docker_client.images.push(
self.image, tag=self.content_hash, auth_config=self.manager._auth_config
Expand Down

0 comments on commit 72df9ce

Please sign in to comment.