sidecar image: fetch Debian packages over https
ci / client (pull_request) Successful in 28s
ci / lint (pull_request) Successful in 11s
ci / nox (pull_request) Successful in 12s
ci / server (mysql) (pull_request) Successful in 13s
ci / server (sqlite) (pull_request) Successful in 12s
ci / sidecar (pull_request) Successful in 34s
ci / image (pull_request) Skipped
ci / sourcemaps (pull_request) Skipped
ci / deploy (pull_request) Skipped

The mac1/mac2 build machines cannot reach port 80 on the Debian mirror
CDN, so apt-get update failed and the reduction image never built.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Paul Hitt
2026-10-13 13:13:17 -04:00
co-authored by Claude Opus 5.5
parent a23c3349a2
commit 37b64af3ba
+8 -2
View File
@@ -18,7 +18,10 @@ FROM python:3.13-slim AS build
# Compilers and the headers numpy's build needs. None of this reaches the
# runtime image.
# hadolint ignore=DL3008
RUN apt-get update \
# Debian mirrors over https: the build machines cannot open port 80 to the
# mirror CDN. python:3.13-slim already carries ca-certificates.
RUN sed -i 's|http://deb.debian.org|https://deb.debian.org|g' /etc/apt/sources.list.d/debian.sources \
&& apt-get update \
&& apt-get install --no-install-recommends -y build-essential \
&& rm -rf /var/lib/apt/lists/*
@@ -40,7 +43,10 @@ FROM python:3.13-slim
# Its index files run to tens of GB and belong on a mounted volume rather than
# in a layer, so it arrives with the astrometry stage in phase 3.
# hadolint ignore=DL3008
RUN apt-get update \
# Debian mirrors over https: the build machines cannot open port 80 to the
# mirror CDN. python:3.13-slim already carries ca-certificates.
RUN sed -i 's|http://deb.debian.org|https://deb.debian.org|g' /etc/apt/sources.list.d/debian.sources \
&& apt-get update \
&& apt-get install --no-install-recommends -y curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*