Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ ARG NEBI_IMAGE=""
FROM ${BASE_IMAGE} AS builder
LABEL MAINTAINER="Nebari development team"

# Pinned pixi release; bump deliberately. Must match the version
# used to generate the pixi.lock files in this repo.
ARG PIXI_VERSION=v0.81.0

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
apt-get update && apt-get install -y --no-install-recommends \
Expand All @@ -14,7 +18,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

COPY scripts /opt/scripts

RUN curl -fsSL https://pixi.sh/install.sh | PIXI_HOME=/usr/local bash
RUN curl -fsSL https://pixi.sh/install.sh | PIXI_VERSION=${PIXI_VERSION} PIXI_HOME=/usr/local bash
RUN pixi --version | grep -qF "${PIXI_VERSION#v}"

ENV PATH=/opt/scripts:${PATH}

Expand Down