geopython / pycsw

pycsw is an OGC CSW server implementation written in Python. pycsw fully implements the OpenGIS Catalogue Service Implementation Specification [Catalogue Service for the Web]. Initial development started in 2010 (more formally announced in 2011). The project is certified OGC Compliant, and is an OGC Reference Implementation. pycsw allows for the publishing and discovery of geospatial metadata via numerous APIs (CSW 2/CSW 3, OpenSearch, OAI-PMH, SRU). Existing repositories of geospatial metadata can also be exposed, providing a standards-based metadata and catalogue component of spatial data infrastructures. pycsw is Open Source, released under an MIT license, and runs on all major platforms (Windows, Linux, Mac OS X). Please read the docs at https://pycsw.org/docs for more information.
https://pycsw.org
MIT License
206 stars 155 forks source link

Docker build of 2.6 branch is broken #889

Closed etj closed 1 year ago

etj commented 1 year ago

Description

This commit is breaking the Dockerfile, and the build fails.

docker log ``` $ docker build . --tag pycsw-dynamic:2.6.x [+] Building 7.1s (6/17) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 2.88kB 0.0s => WARN: Empty continuation line found in: RUN apt-get update && apt-get install --yes ca-certificates libexpat1 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 260B 0.0s => [internal] load metadata for docker.io/library/python:3.8-slim-buster 1.6s => [internal] load build context 0.2s => => transferring context: 8.37MB 0.2s => CACHED [ 1/13] FROM docker.io/library/python:3.8-slim-buster@sha256:8799b0564103a9f36cfb8a8e1c562e11a9a6f2e3bb214e2adc 0.0s => ERROR [ 2/13] RUN apt-get update && apt-get install --yes ca-certificates libexpat1 ARG BUILD_DEV_IMAGE="false 5.4s ------ > [ 2/13] RUN apt-get update && apt-get install --yes ca-certificates libexpat1 ARG BUILD_DEV_IMAGE="false": #0 0.661 Get:1 http://deb.debian.org/debian buster InRelease [122 kB] #0 0.824 Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB] #0 0.905 Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB] #0 1.069 Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB] #0 3.225 Get:5 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [549 kB] #0 3.353 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B] #0 4.105 Fetched 8680 kB in 4s (2365 kB/s) #0 4.105 Reading package lists... #0 4.648 Reading package lists... #0 5.167 Building dependency tree... #0 5.264 Reading state information... #0 5.357 E: Unable to locate package ARG #0 5.357 E: Unable to locate package BUILD_DEV_IMAGE ------ Dockerfile:42 -------------------- 41 | 42 | >>> RUN apt-get update && apt-get install --yes \ 43 | >>> ca-certificates libexpat1 \ 44 | >>> 45 | >>> # Build arguments 46 | >>> # add "--build-arg BUILD_DEV_IMAGE=true" to Docker build command when building with test/doc tools 47 | >>> 48 | >>> ARG BUILD_DEV_IMAGE="false" 49 | -------------------- ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install --yes ca-certificates libexpat1 ARG BUILD_DEV_IMAGE=\"false\"" did not complete successfully: exit code: 100 ```

Environment

Steps to Reproduce

Additional Information

# docker --version
Docker version 24.0.2, build cb74dfc