# We take a pixi from phoenix
FROM gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs2/citoolkit/phoenixcontainer/pixi:9.6.1@sha256:d35c0245c7faf367abd7554f6cc94b6e178d2a9b37e775d5c52c1820c520b3a8 AS pixi
# We create a temporary environment
WORKDIR /opt/tmp-emv
RUN pixi init . && \
pixi workspace channel add https://prefix.dev/phoenix && \
pixi add rustyphoenixlecture=1.20.0 && \
pixi clean cache -y
FROM gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs2/citoolkit/phoenixcontainer/debian-stable-slim:9.6.1@sha256:74fbfdf1fe4c295d74a53f6820d5940dbe485366e6f6341b76a1e829ae92101c
COPY --from=pixi /opt/tmp-emv/.pixi/envs/default /usr