Hi all,
I am getting the below error while creating custom docker image from base image using docker file. I also tried with Executor Image builder and command line but no success:
[+] Building 26.3s (9/9) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.82kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for registry.hub.knime.com/knime/knime-full:r-5.2.5-592 0.3s
=> CACHED [1/6] FROM registry.hub.knime.com/knime/knime-full:r-5.2.5-592@sha256:072dc2f10181388fd3b1ca821309f775c568cbfb3e82f4e9b4ecc031b20d8d13 0.0s
=> [2/6] RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates && rm -rf /var/lib/apt/lists/* 6.8s
=> [3/6] RUN apt-get update && apt-get install -y curl bzip2 && rm -rf /var/lib/apt/lists/* 14.6s
=> [4/6] RUN set -x && mkdir -p ~/.local/bin && curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj -C ${HOME}/.local/bin/ --st 3.8s
=> [5/6] RUN echo $'name: py310_knime # Name of the created environment\nchannels: # Repositories to search for packages\n- co 0.3s
=> ERROR [6/6] RUN set -x && micromamba env create -f /tmp/py310_knime.yml && micromamba install -y -n base conda -c conda-forge && micromamba clean 0.4s
[6/6] RUN set -x && micromamba env create -f /tmp/py310_knime.yml && micromamba install -y -n base conda -c conda-forge && micromamba clean -y --all:
0.391 + micromamba env create -f /tmp/py310_knime.yml
0.391 /usr/bin/bash: line 1: micromamba: command not found
Dockerfile:68
67 | ’ > /tmp/py310_knime.yml
68 | >>> RUN set -x &&
69 | >>> micromamba env create -f /tmp/py310_knime.yml &&
70 | >>> # legacy conda support
71 | >>> micromamba install -y -n base conda -c conda-forge &&
72 | >>> micromamba clean -y --all
73 | # END Python setup
ERROR: failed to solve: process “/usr/bin/bash -o pipefail -c set -x && micromamba env create -f /tmp/py310_knime.yml && micromamba install -y -n base conda -c conda-forge && micromamba clean -y --all” did not complete successfully: exit code: 127