Skip to content
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

Docker Build Issue #98

Closed
kylona opened this issue Oct 18, 2023 · 1 comment
Closed

Docker Build Issue #98

kylona opened this issue Oct 18, 2023 · 1 comment

Comments

@kylona
Copy link

kylona commented Oct 18, 2023

I tried building with the latest Dockerfile and ran into an error.

docker build --platform linux/amd64 . --tag fields2cover
[+] Building 21.0s (7/19)
 => [internal] load build definition from Dockerfile                                                                                                                                                       0.0s
 => => transferring dockerfile: 37B                                                                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                            0.0s
 => [internal] load metadata for docker.io/osgeo/gdal:ubuntu-full-3.6.2                                                                                                                                    0.5s
 => [ 1/15] FROM docker.io/osgeo/gdal:ubuntu-full-3.6.2@sha256:c115636a9f5d385240674c323ede99a64b8f6ab154dab911363c699f3b41da17                                                                            0.0s
 => [internal] load build context                                                                                                                                                                          0.0s
 => => transferring context: 20.86kB                                                                                                                                                                       0.0s
 => CACHED [ 2/15] RUN mkdir -p /usr/include/new_gdal &&     cp -r /usr/include/gdal* /usr/include/new_gdal/ &&     cp /usr/include/ogr* /usr/include/new_gdal/ &&     cp /usr/include/cpl* /usr/include/  0.0s
 => ERROR [ 3/15] RUN apt-get update -qq &&     apt-get install -y --no-install-recommends ca-certificates &&     apt-get update -qq                                                                      20.4s
------
 > [ 3/15] RUN apt-get update -qq &&     apt-get install -y --no-install-recommends ca-certificates &&     apt-get update -qq:
#6 20.34 W: GPG error: https://apache.jfrog.io/artifactory/arrow/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9CBA4EF977CA20B8
#6 20.34 E: The repository 'https://apache.jfrog.io/artifactory/arrow/ubuntu jammy InRelease' is not signed.
------
executor failed running [/bin/sh -c apt-get update -qq &&     apt-get install -y --no-install-recommends ca-certificates &&     apt-get update -qq]: exit code: 100

Looks like it is complaining about a package that is unsigned. I rolled back to the docker file at

commit abdec8ed5c7af556a081069bc2973a39517298d1
Author: Gonzalo Mier <gonzalo.miermunoz@wur.nl>
Date:   Thu Nov 3 09:25:20 2022 +0100

    Removed trailing whitespace

And the build finished. It's likely that one of the commits between the latest and that one would also work.

@Gonzalo-Mier
Copy link
Member

Hi @kylona, Thank you for the issue!

It's working again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants