Skip to content

python:3.7-slim: python 3.7.17 update is having issues on netcat package installation #842

@epulla

Description

@epulla

Hello there! 👋

There was a python version update 2 weeks ago in the python:3.7 docker image about upgrading python version from 3.7.16 to 3.7.17 and for some reason, this last version (3.7.17) prevents me from installing the netcat package using the following dockerfile command:

FROM public.ecr.aws/docker/library/python:3.7-slim
RUN set -ex \
  && apt-get update -yqq \
  && apt-get install -y -qq \
  --no-install-recommends \
  ...
  netcat \
  ...

Because I always get the following error:

E: Package 'netcat' has no installation candidate

Is there any reason that is causing this installation issue? I'll remain attentive to your comments, thanks!

P.S. I have to downgrade python docker image version (3.7.16-slim) to install netcat again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions