Cannot build. "ARCH must be set" error.
SatishReddyBethi opened this issue · 1 comments
SatishReddyBethi commented
I recently found out about git-sync and wanted to use it along with my other containers using docker compose file. However, I am unable to even build the image. The steps provide in the documentation for building the image is really vague. So, these are the steps I followed to build the latest v3.6.5 git-sync image and the result I got:
- Clone git-sync repo
- Run
make container REGISTRY=registry VERSION=v3.6.5
ormake container VERSION=v3.6.5
(Same result)
Result:
$ make container REGISTRY=registry VERSION=v3.6.5
make: go: No such file or directory
make: go: No such file or directory
making bin/_/git-sync
ARCH must be set
make: *** [Makefile:116: .go/bin/_/git-sync.stamp] Error 1
Platform:
Ubuntu 22.04 through WSL2 on Windows
Docker Desktop Version:
v4.15.0
Please let me know what I am doing wrong. Thank you. 🙏
thockin commented
This program is written in Go. You need a Go compiler.