Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make an arm64v8 version in dockerhub? #23

Open
ProblemFactory opened this issue Jul 17, 2021 · 4 comments
Open

Is it possible to make an arm64v8 version in dockerhub? #23

ProblemFactory opened this issue Jul 17, 2021 · 4 comments

Comments

@ProblemFactory
Copy link

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
Copy link
Member

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
Copy link

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
Copy link
Contributor

The newest version contains something similar on and build arg in Dockerfile / compose. This may be enough?

@Elbarae1921
Copy link

yes as long as you specify ARCH: arm64 in the compose file. or change the default value in the Dockerfile. that should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants