Can not build image locally on ARM64(M1 Mac) due to missing packr binaries #5884
Closed
3 tasks done
Labels
bug
Something isn't working
This affect M1 Mac (ARM64) only.
If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a question in argocd slack channel.
Checklist:
make
on masterargocd version
: this is masterTo Reproduce
do
make
on master, maybe clean all your cached images first.Broken at line
COPY --from=builder /usr/local/bin/packr /usr/local/bin/packr
Because there's no
/usr/local/bin/packr
inbuilder
Checking the builder itself, there seems to be several things in there that doesn't match the expectation.
If we spin up FROM
golang:1.16.2
as builderand peform the steps in
ininstall-packr-linux.sh
, there won't be:$GOPATH/src/github.com/gobuffalo/packr
or$GOPATH/bin/packr
and there won't be a
$BIN/packr
for downstream.All I can see in GOPATH after go get are:
Both
bin
andsrc
are empty.Expected behavior
make
can build the final image successfullyScreenshots
master
Build Log
The text was updated successfully, but these errors were encountered: