Open orsenthil opened 1 month ago
$ git log -n 1 commit 30115aae627ca5aaa8429bd0ff598d66f95732cd (HEAD -> master, origin/master, origin/HEAD) Author: Senthil Kumaran <senthilx@amazon.com> Date: Thu Oct 17 11:59:15 2024 -0700 Fix Formatting in troubleshooting doc (#3074)
$ make docker-func-test docker build --build-arg golang_image="public.ecr.aws/eks-distro-build-tooling/golang:1.22.5-gcc-al2" --build-arg base_image="public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-iptables:latest.2" --network=host \ -f scripts/dockerfiles/Dockerfile.release \ -t "amazon/amazon-k8s-cni:v1.12.0-417-g30115aae" \ . [+] Building 123.8s (14/14) FINISHED docker:default => [internal] load build definition from Dockerfile.release 0.0s => => transferring dockerfile: 1.01kB 0.0s => [internal] load metadata for public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-iptables:latest.2 0.2s => [internal] load metadata for public.ecr.aws/eks-distro-build-tooling/golang:1.22.5-gcc-al2 0.2s => [internal] load .dockerignore 0.0s => => transferring context: 203B 0.0s => [stage-1 1/4] FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-iptables:latest.2@sha256:38671d6b390b662ff06def57d163d8162403e80abddb51209bf8a0904bce068c 0.0s => [builder 1/4] FROM public.ecr.aws/eks-distro-build-tooling/golang:1.22.5-gcc-al2@sha256:461dff837b3c329347af1eb162acc6d0a0d88794ea2b64db5ab97ab8da640d02 0.0s => [internal] load build context 0.1s => => transferring context: 326.22kB 0.1s => CACHED [builder 2/4] WORKDIR /go/src/github.com/aws/amazon-vpc-cni-k8s 0.0s => CACHED [builder 3/4] COPY . ./ 0.0s => [builder 4/4] RUN make build-aws-vpc-cni && make build-linux 123.0s => CACHED [stage-1 2/4] WORKDIR /app 0.0s => CACHED [stage-1 3/4] COPY --from=builder /go/src/github.com/aws/amazon-vpc-cni-k8s/aws-cni /go/src/github.com/aws/amazon-vpc-cni-k8s/misc/10-aws.conflist /go/src/github.com/aws/amazon-vpc-cni-k8s/aws-k8s-agent /go/src/github.com/a 0.0s => CACHED [stage-1 4/4] RUN ["update-alternatives", "--set", "iptables", "/usr/sbin/iptables-wrapper"] 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:7a65c3c70dbd4c2b87f8a8fb9b7e6018ad81ade8220e458aabfc908233e87557 0.0s => => naming to docker.io/amazon/amazon-k8s-cni:v1.12.0-417-g30115aae 0.0s Built Docker image "amazon/amazon-k8s-cni:v1.12.0-417-g30115aae" docker run --rm -ti \ "amazon/amazon-k8s-cni:v1.12.0-417-g30115aae" ERRO[0000] Failed to install CNI binaries error="Failed to install /host/opt/cni/bin/aws-cni: failed to copy file: open /host/opt/cni/bin/aws-cni.tmp: no such file or directory" make: *** [Makefile:170: docker-func-test] Error 1