File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.23.1-bullseye
1+ # using --platform to force AMD64 architecture, even as this will produce a warning, for following reasons:
2+ # - MacOS users using M* processors will probably get issues due to pulling ARM architecture images per default
3+ # - we would pass the linux/amd64 as the build variable to remove the warning, but since this here is a "boilerplate"
4+ # image, it is meant to be copy pasted in the projects, where teams can still adjust the image and use the ${BUILDPLATFORM}
5+ # variable. Check https://docs.docker.com/reference/build-checks/from-platform-flag-const-disallowed/ for reference.
6+ FROM --platform=linux/amd64 golang:1.23.1-bullseye
27
38RUN apt-get update && \
49 apt-get install lsb-release unzip -y
You can’t perform that action at this time.
0 commit comments