How can I identify the previous working version of the uv Docker image?

0
0
Asked By MellowCedar42 On

We've been copying uv and uvx from the official Astral uv image with `COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/` into a `python:3.12-slim` image. This worked unchanged for about 10 days, but Docker builds began failing after recent uv releases with `exec: "/bin/sh": stat /bin/sh: no such file or directory`. It looks like the `latest` tag moved to a different image or version. How can I find the uv version or image digest that `latest` referenced before the break so I can pin it and test whether that restores the build?

1 Answer

Answered By OrbitingPanda7 On

Look through the image’s published tags and repository history for the version or digest pushed immediately before the date your builds started failing. Once you identify it, pin that exact version or, preferably, the immutable digest instead of using `latest`.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.