i’m running bazel and using rules_docker am doing docker_pull. docker_pull has architecture attribute. in CI and some dev machines, the architecture is amd. in new m1 macs, the architecture is arm. how do i configure bazel to pull amd on amd machines and arm on arm machines? Source: Docker..
I am runing the command docker buildx build –push –platform linux/amd64,linux/arm64 -t steinko/gradle-ci-cd . o/gradle-ci-cd . The comand is hanging [+] Building 2108.8s (20/23) => CACHED [linux/amd64 gradleimage 1/5] FROM docker.io/library/[email protected]:9b0871b0061cae621a5f9ca67359da36810e5aeae3a917f4c78ae3cbed6313a5 0.0s => => resolve docker.io/library/[email protected]:9b0871b0061cae621a5f9ca67359da36810e5aeae3a917f4c78ae3cbed6313a5 0.0s => [internal] load build context 0.4s => => transferring context: 17.15MB 0.4s => CACHED [linux/amd64 stage-1 1/3] FROM ..
I run a pulumi deployment program to create a kubernetes cluster with a deployment on a Google Cloud Platfrom The Docker component in the deployment do not start. The Docker operating system: linux Architecture: arm64 I get the error message "standard_init_linux.go:211: exec user process caused "exec format error"" I think that the cause of this ..
I’m using my Intel based Apple MacBook Pro for frontend and backend development. I run an Oracle Database in a Docker container and it works like a charm but now I plan upgrading to the new Apple Silicon and things seem to get complicated again. There is now Docker Desktop for Apple silicon and Parallels ..
I want to build Docker images to run on ARM platforms using an Azure Pipeline. I can easily build images for Intel but I do not find a proper and up-to-date guide on how to configure the pipeline to build images for ARM. How to build a Docker image for Raspberry Pi using an Azure ..
I have a PostgreSQL database for some sensoric data on my Raspberry Pi. It runs on the postgres:12-alpine tag without automatic updates yet. Before the update, I got the following version string: (‘PostgreSQL 12.3 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 9.3.0) 9.3.0, 32-bit’,) After I noticed that it was a bit out of date, I ..
I have a Raspberry Pi that can effectively run a simple FastAI vision model natively without any issues. However, my problems come when I try to Dockerize it and serve it as a container behind a proxy. I can’t seem to build a Docker image that will work. Whenever I run docker-compose I just get ..
I am building a linux/arm/v7 image from Windows 10 to be run on a Raspberry Pi running a 32 bit OS. Dockerfile FROM nginx:1.19.8-alpine CMD nginx -g ‘daemon off;’ Build and push On Windows, I run: docker buildx build –platform linux/arm/v7 -t harvzor/nginx-multi-arch-cross-compile –push . Running docker inspect image harvzor/nginx-multi-arch-cross-compile on the built image produces: ..
I’m built a small spring boot MQTT application I am going to run on a raspberry pi. I’ve pulled the generated image, however it is failing on the pi since docker images are generally built fr x64. Is there a way with the spring boot plugin to specify the architecture where the docker buildx will ..
I’m building a Docker image for multiple architectures (amd64 and arm64 – both on Linux). I’m using a multistage build – this means using go-alpine image as a builder (to compile my Go source code into an executable), and then copying the executable to a smaller secondary image. Initially, I was copying the compiled program ..