Category : buildx

Context I have a jenkins that builds a docker image for a raspberry pi 2. It is using buildx to emulate the ArmV7 environment during build. This worked great until recently I got random errors during installing the apk packages. Dockerfile FROM python:3-alpine # picam python module ARG PICAMERA_RELEASE_ADDRESS="{private_repo}" # Ardafruit python module ARG ARDAFRUIT_RELEASE_URL="{private_repo}" ..

Read more

I am trying to build a Dockerfile on my Raspberry Pi 4 (Pi OS 10 (buster), armv7l). I am using docker buildx build . which starts fine but runs into problems fetching packages: [build 3/5] RUN apk –no-cache add git build-base: #6 0.673 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz #6 0.735 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) ..

Read more

System Docker version 20.10.8, build 3967b7d Windows 10 Pro with Docker Desktop As a requirement I have to port my Python3.x application to support working on arm/v7 architecture hardware. I have GitHub Workflows that can build for linux/arm64 and linux/amd64 platforms/architectures. One of the dependency is numpy which, during build phase causes build times to ..

Read more

How do I prevent other stages running in parallel to a specific stage? I have a multistage Dockerfile. one of the stages builds opencv stack. FROM pkg_builder AS open_cv_builder ARG PYTHON_VERSION RUN cd ~ && python${PYTHON_VERSION} -m pip install numpy==1.18.2 && cd ~ && wget -O opencv.zip https://github.com/opencv/opencv/archive/3.4.4.zip && wget -O opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/3.4.4.zip && unzip ..

Read more

I am trying to build, sign, and push a multi-arch container image using a Harbor registry with Notary. Following the steps in https://www.cncf.io/blog/2021/07/28/enforcing-image-trust-on-docker-containers-using-notary/ I was able to get the simple example working with DOCKER_CONTENT_TRUST_SERVER pointing to the URL of my notary server. However, when I try to build and push a multi-arch image, I do ..

Read more

I’m trying to create a workflow that builds and pushes a docker image to the docker hub using https://github.com/docker/build-push-action. I have a monorepo with a folder structure like this: project api Dockerfile client and this is the workflow: name: deploy on: push: branches: – main paths: – "api/**" jobs: docker: runs-on: ubuntu-latest steps: – name: ..

Read more

I just make multarch images by using buildx When running docker buildx build –platform linux/amd64,linux/arm64 -t maskertim/zookeeper-demo . Error Message The Error as following: —— > [linux/arm64 3/5] RUN curl "https://archive.apache.org/dist/kafka/2.8.0/kafka_2.13-2.8.0.tgz" -o /tmp/kafka/kafka.tgz && mkdir /kafka && cd /kafka && tar -xzvf /tmp/kafka/kafka.tgz –strip 1: #8 0.915 % Total % Received % Xferd Average Speed ..

Read more