Skip to content

Issues with installing libvips on python:3.8.10-slim image #620

@mihirsamdarshi

Description

@mihirsamdarshi

Hi,

I was working with libvips and noticed an interesting regression, and was wondering if someone could help me pinpoint the cause of this regression.

This image works:

FROM python:3.8.9-slim AS build-image
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libvips

Whereas this doesn't, as it errors out

FROM python:3.8.10-slim AS build-image
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libvips

The error message in the console looks like this:

#7 55.94 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/f/firefox-esr/firefox-esr_78.10.0esr-1~deb10u1_amd64.deb  404  Not Found [IP: 199.232.170.132 80]
#7 55.94 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/f/firefox-esr/iceweasel_78.10.0esr-1~deb10u1_all.deb  404  Not Found [IP: 199.232.170.132 80]
#7 55.94 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
------
executor failed running [/bin/sh -c apt-get install -y libvips]: exit code: 100

I can't seem to figure out why it works with 3.8.9-slim and not 3.8.10-slim, based on this comparison, and any pointers would be helpful.

Thanks!


Host details:

OS: MacOS 11.4 Big Sur
Version 3.4.0 (65384)
Engine: 20.10.7
Credential Helper: 0.6.4
Snyk: v1.563.0
Compose: 1.29.2
Kubernetes: v1.21.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions