Skip to content
Snippets Groups Projects
Commit e5f550fa authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Install opam 2.0.10 from upstream, instead of the Debian version

parent 9fa135e1
No related branches found
No related tags found
No related merge requests found
......@@ -120,9 +120,7 @@ RUN --mount=type=cache,id=apt-cache,target=/var/cache/apt \
tree \
valgrind \
yarn \
zstd && \
apt-get install -y --no-install-recommends \
opam
zstd
# Install openjdk 11 from eclipse-temurin (needed for cassandra)
ENV JAVA_HOME=/opt/java/openjdk
......@@ -162,6 +160,16 @@ RUN mkdir -p /home/${user}/.local/bin && \
ENV GEM_HOME=/home/${user}/.local/rubygems
RUN gem install bibliothecary
ARG opam_version=2.0.10
# install opam
RUN curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh -o /tmp/opam-install && \
cd /home/${user}/.local/bin && \
bash /tmp/opam-install --version ${opam_version} --download-only && \
chmod +x opam-* && \
ln -s opam-* opam && \
rm /tmp/opam-install
# install pyenv
FROM build_bookworm_base AS build_pyenv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment