Closed robmarkcole closed 4 weeks ago
You should uncomment the following line in the docker-compose.yml
file to run on Apple silicon.
platform: linux/amd64
However, this will make the build process significantly slower.
@juansensio I have made that change but get
> docker-compose build --no-cache
[+] Building 4.4s (7/29) docker:desktop-linux
=> [eotdl-api internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.30kB 0.0s
=> [eotdl-api internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [eotdl-api internal] load metadata for docker.io/library/python:3.8 2.1s
=> [eotdl-api auth] library/python:pull token for registry-1.docker.io 0.0s
=> [eotdl-api internal] load build context 0.0s
=> => transferring context: 6.87kB 0.0s
=> CACHED [eotdl-api 1/24] FROM docker.io/library/python:3.8@sha256:7a82536f5a2895b70416ccaffc49e6469d11ed8d9bf6bcfc52328faeae7c7710 0.0s
=> ERROR [eotdl-api 2/24] RUN apt-get update --fix-missing && apt-get install -y wget libarchive-dev && wget --quiet https://rep 2.2s
------
> [eotdl-api 2/24] RUN apt-get update --fix-missing && apt-get install -y wget libarchive-dev && wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && /bin/bash ~/miniconda.sh -b -p /opt/conda && rm ~/miniconda.sh && /opt/conda/bin/conda install -c conda-forge mamba -y && /opt/conda/bin/conda clean -afy && apt-get purge -y --auto-remove wget && apt-get clean:
0.489 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
0.723 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
0.776 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
1.179 Err:1 http://deb.debian.org/debian bookworm InRelease
1.179 At least one invalid signature was encountered.
1.589 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
1.589 At least one invalid signature was encountered.
1.994 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
1.994 At least one invalid signature was encountered.
2.038 Reading package lists...
2.149 W: GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered.
2.150 E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
2.150 W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: At least one invalid signature was encountered.
2.150 E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
2.150 W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: At least one invalid signature was encountered.
2.150 E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
------
failed to solve: process "/bin/sh -c apt-get update --fix-missing && apt-get install -y wget libarchive-dev && wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && /bin/bash ~/miniconda.sh -b -p /opt/conda && rm ~/miniconda.sh && /opt/conda/bin/conda install -c conda-forge mamba -y && /opt/conda/bin/conda clean -afy && apt-get purge -y --auto-remove wget && apt-get clean" did not complete successfully: exit code: 100
Attempting
docker-compose up
I get the following - I've had issues that are due to the M1 chip before which could be at play here..?Note this also occurs with
docker-compose build --no-cache