-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debian-11 failed when building the docker image 1.21.0-main-debian11
#311
Comments
Trying to reproduce the error locally by running |
I even tried to run the generated dockerfile for ➜ main git:(fix/debian-11-golang2.21) pwd
/Users/vmartinez/work/src/github.com/elastic/golang-crossbuild/go/main
➜ main git:(fix/debian-11-golang2.21) docker build --build-arg REPOSITORY=docker.elastic.co/beats-dev --build-arg VERSION=1.21.0 --build-arg TAG_EXTENSION=-debian11 --tag foo --no-cache .
[+] Building 182.4s (15/15) FINISHED docker:desktop-linux
=> [internal] load .dockerignore 0.0s
=> => transferring context: 49B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.71kB 0.0s
=> [internal] load metadata for docker.elastic.co/beats-dev/golang-crossbuild:1.21.0-base-debian11 0.0s
=> CACHED [ 1/10] FROM docker.elastic.co/beats-dev/golang-crossbuild:1.21.0-base-debian11 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 107B 0.0s
=> [ 2/10] RUN dpkg --add-architecture i386 && apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -qq -y --no-install-recommends --allow-unauthentica 84.6s
=> [ 3/10] RUN apt install -y --no-install-recommends --allow-unauthenticated librpm-dev libxml2-dev libsqlite3-dev 19.2s
=> [ 4/10] RUN apt install -y --no-install-recommends --allow-unauthenticated libsystemd-dev 5.2s
=> [ 5/10] RUN apt install -y --no-install-recommends --allow-unauthenticated msitools 4.8s
=> [ 6/10] RUN rm -rf /var/lib/apt/lists/* 0.4s
=> [ 7/10] COPY rootfs / 0.0s
=> [ 8/10] RUN cd / && gcc helloWorld.c -o helloWorld && file helloWorld && readelf -h helloWorld && file helloWorld | cut -d "," -f 2 | grep -c 'x86-64' && rm helloWorld. 0.6s
=> [ 9/10] RUN cd /libpcap/libpcap-1.8.1 && cp -R /libpcap/libpcap-1.8.1 /libpcap/libpcap-1.8.1-i386 && cp -R /libpcap/libpcap-1.8.1 /libpcap/libpcap-1.8.1-amd64 && cd /libpc 47.4s
=> [10/10] RUN curl -sSLO https://storage.googleapis.com/obs-ci-cache/beats/WpdPack_4_1_2.zip && mkdir -p /libpcap/win && echo "ea799cf2f26e4afb1892938070fd2b1ca37ce5cf75fec4349 1.3s
=> exporting to image 18.7s
=> => exporting layers 18.7s
=> => writing image sha256:f7adf5534fd1b07e7b02d00017f3745166167f87f6917589365e5286ec71d50a 0.0s
=> => naming to docker.io/library/foo 0.0s
What's Next?
View summary of image vulnerabilities and recommendations → docker scout quickview |
and now
|
This was referenced Sep 11, 2023
#316 is the one fixing both archs |
Fixed in #316 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: