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

arm64 build for docker? #44

Open
TotalLag opened this issue Feb 14, 2024 · 1 comment
Open

arm64 build for docker? #44

TotalLag opened this issue Feb 14, 2024 · 1 comment

Comments

@TotalLag
Copy link

is it possible to get a docker build for arm or linux/arm64/v8 ?

@Kush-Saxena
Copy link

@TotalLag

Assuming you're on a arm based machine. If you have golang, just clone repo and build it (using something like this GOOS=linux GOARCH=arm go build).
However if you don't have that you can use the following steps:

  1. Make a folder and open terminal there.
  2. Execute this : docker run --rm -it --platform=linux/arm64/v8 -v .:/go/bin golang sh -c "git clone https://github.com/go rcon/rcon-cli && cd rcon-cli/cmd/gorcon/ && GOOS=linux GOARCH=arm go build -o /go/bin/gorcon"
  3. Find the binary in same folder where you executed the command.

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

2 participants