Skip to content

Commit 65211fb

Browse files
author
Andrey Doronin
committed
fix(x64-glibc-217): switch to micromamba instead of miniforge
1 parent 373e20d commit 65211fb

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

recipes/x64-glibc-217/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ VOLUME /home/node/node.tar.xz
2525

2626
USER node
2727

28-
RUN cd "/home/node" && curl -LO https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh \
29-
&& bash Miniforge3-Linux-x86_64.sh -b \
30-
&& rm Miniforge3-Linux-x86_64.sh
31-
ENV PATH="/home/node/miniforge3/bin:${PATH}"
32-
RUN mamba install -y \
33-
python=3.12 \
34-
gxx=15
28+
ENV PATH="/home/node/.local/bin:${PATH}"
29+
30+
RUN curl -L micro.mamba.pm/install.sh | bash -s -- -y \
31+
&& eval "$(micromamba shell hook --shell bash)" \
32+
&& micromamba install -y \
33+
python=3.12 \
34+
gxx=15
3535

3636
ENTRYPOINT [ "/home/node/run.sh" ]

recipes/x64-glibc-217/run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ cd "${nodeDir}"/deps/v8/src
3535

3636
cd "${nodeDir}"
3737

38+
eval "$(micromamba shell hook --shell bash)"
39+
micromamba activate
40+
3841
export CC="ccache gcc"
3942
export CXX="ccache g++"
4043
export MAJOR_VERSION=$(echo ${fullversion} | cut -d . -f 1 | tr --delete v)

0 commit comments

Comments
 (0)