rcon-cli icon indicating copy to clipboard operation
rcon-cli copied to clipboard

arm64 build for docker?

Open TotalLag opened this issue 1 year ago • 2 comments

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

TotalLag avatar Feb 14 '24 19:02 TotalLag

@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.

Kush-Saxena avatar May 20 '24 17:05 Kush-Saxena

The easiest way https://github.com/gorcon/rcon-cli/pull/54

a0s avatar Dec 07 '24 11:12 a0s