Is it possible to make an arm64v8 version in dockerhub?
Opened this issue · 4 comments
ProblemFactory commented
Hi, I am trying to deploy this in my raspberry pi with docker but the docker image only supports amd64. Can you make a version for arm64v8? Thank you.
AlinaNova21 commented
I'll have to look into doing an arm build via circleci, haven't done that recently. For now, an option is to build your own. docker build -t screeps-launcher .
in the folder on an arm machine should work.
Elbarae1921 commented
Make sure to change this line in the Dockerfile tho
RUN CGO_ENABLED=0 \
GOOS=linux \
- GOARCH=amd64 \
+ GOARCH=arm64 \
go build -o screeps-launcher ./cmd/screeps-launcher
Otherwise you'll just be building an amd64 image.
philipp-horstenkamp commented
The newest version contains something similar on and build arg in Dockerfile / compose. This may be enough?
Elbarae1921 commented
yes as long as you specify ARCH: arm64
in the compose file. or change the default value in the Dockerfile. that should work