Hi team, I’m testing Docker in Windows (also installed WSL2) but I’m having issues trying to build my dockerfile (that works on Linux).
PS C:\Users\alvar\Documents\Source\rpi-hats-python> docker build -t rpi-hats-python . [+] Building 12.3s (6/17)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/torizon/arm64v8-debian-base:buster 1.9s
=> CACHED [1/13] FROM docker.io/torizon/arm64v8-debian-base:buster@sha256:08e86adcbb6ed32c8 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 24.87kB 0.0s
=> ERROR [2/13] RUN apt-get update && apt-get install -y --no-install-recommends pytho 10.4s
------
> [2/13] RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-setuptools python3-influxdb python3-dev wait-for-it python3-pip && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/*:
#5 0.643 Get:1 http://deb.debian.org/debian buster InRelease [121 kB]
#5 0.644 Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
#5 0.722 Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
#5 1.085 Get:4 https://feeds.toradex.com/debian/testing buster InRelease [8943 B]
#5 2.340 Get:5 http://deb.debian.org/debian buster/main arm64 Packages [7736 kB]
#5 7.500 Get:6 https://feeds.toradex.com/debian/testing buster/main arm64 Packages [91.1 kB]
#5 7.842 Reading package lists...
#5 10.37 E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 3h 55min 49s). Updates for this repository will not be applied.
#5 10.37 E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 5h 55min 55s). Updates for this repository will not be applied.
------
failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3 python3-setuptools python3-influxdb python3-dev wait-for-it python3-pip && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/*]: runc did not terminate sucessfully
PS C:\Users\alvar\Documents\Source\rpi-hats-python>
The arm emulation is working. Any idea? Thanks