ocaml / opam

opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
https://opam.ocaml.org
Other
1.21k stars 348 forks source link

Patch to move from caml.inria.fr to gitHub.com #6032

Closed mtelvers closed 2 weeks ago

mtelvers commented 2 weeks ago

This fix is necessary due to https://github.com/ocaml/ocaml/issues/13237 and allow us to build base images https://github.com/ocurrent/docker-base-images/issues/283 again.

I have tested this patch in the base image builder using this commit and successfully built a base image with opam 2.0, 2.1 and dev.

mtelvers commented 2 weeks ago
# docker run --rm -it docker.io/ocurrent/opam-staging:ubuntu-24.04-opam-arm64
opam@70d084a3b203:~$ opam-2.0 --version
2.0.10
opam@70d084a3b203:~$ opam-2.1 --version
2.1.6
opam@70d084a3b203:~$ opam-2.2 --version
2.2.0~rc1~dev
opam@70d084a3b203:~$ opam-dev --version
2.2.0~rc1~dev
shonfeder commented 2 weeks ago

LGTW, fwiw :)