applicationset icon indicating copy to clipboard operation
applicationset copied to clipboard

make image fails on ppc64le architecture

Open krishvoor opened this issue 2 years ago • 0 comments

Thanks for the wonderful readme/documentation, whilst applicationset from the source ppc64le architecture. I encountered this error:-

docker buildx build --platform linux/amd64 -t quay.io/argoproj/argocd-applicationset:latest .
[+] Building 1.4s (8/23)                                                                                                                                                          
 => [internal] load build definition from Dockerfile                                                                                                                         0.0s
 => => transferring dockerfile: 32B                                                                                                                                          0.0s
 => [internal] load .dockerignore                                                                                                                                            0.0s
 => => transferring context: 35B                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/library/ubuntu:21.10                                                                                                              1.0s
 => [internal] load metadata for docker.io/library/golang:1.17.6                                                                                                             1.0s
 => CACHED [stage-1  1/11] FROM docker.io/library/ubuntu:21.10@sha256:02c0317b899ca5595fa17870cedd9550962dbdb2e0b55def018727527b57e2f4                                       0.0s
 => [internal] load build context                                                                                                                                            0.0s
 => => transferring context: 794.41kB                                                                                                                                        0.0s
 => CANCELED [builder 1/8] FROM docker.io/library/golang:1.17.6@sha256:fff998d0f7a46baeb15d8478ee909a8237377e07ccf1a8e77d77a32033021d62                                      0.3s
 => => resolve docker.io/library/golang:1.17.6@sha256:fff998d0f7a46baeb15d8478ee909a8237377e07ccf1a8e77d77a32033021d62                                                       0.0s
 => => sha256:fff998d0f7a46baeb15d8478ee909a8237377e07ccf1a8e77d77a32033021d62 2.35kB / 2.35kB                                                                               0.0s
 => => sha256:80d9a75ccb3879eefdece2f6409bd7a7eed708ea4e830e6c4ecfadeff65f68e0 7.07kB / 7.07kB                                                                               0.0s
 => => sha256:0c6b8ff8c37e92eb1ca65ed8917e818927d5bf318b6f18896049b5d9afc28343 0B / 54.92MB                                                                                  0.3s
 => => sha256:412caad352a3ecbb29c080379407ae0761e7b9b454f7239cbfd1d1da25e06b29 0B / 5.15MB                                                                                   0.3s
 => => sha256:ec67c62f48ddfbca1ccaef18f9b3addccd707e1885fa28702a3954340786fcf6 1.80kB / 1.80kB                                                                               0.0s
 => => sha256:e6d3e61f7a504fa66d7275123969e9917570188650eb84b2280a726b996040f6 0B / 10.87MB                                                                                  0.3s
 => ERROR [stage-1  2/11] RUN apt-get update && apt-get dist-upgrade -y &&   apt-get install -y git git-lfs gpg tini &&   apt-get clean &&   rm -rf /var/lib/apt/lists /var  0.3s
------
 > [stage-1  2/11] RUN apt-get update && apt-get dist-upgrade -y &&   apt-get install -y git git-lfs gpg tini &&   apt-get clean &&   rm -rf /var/lib/apt/lists /var/cache/apt/archives /tmp/* /var/tmp/*:
#6 0.280 standard_init_linux.go:228: exec user process caused: exec format error
------
error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c apt-get update && apt-get dist-upgrade -y &&   apt-get install -y git git-lfs gpg tini &&   apt-get clean &&   rm -rf /var/lib/apt/lists /var/cache/apt/archives /tmp/* /var/tmp/*]: exit code: 1
make: *** [Makefile:50: image] Error 1

krishvoor avatar Mar 11 '22 04:03 krishvoor