Skip to content

Install Miniforge in a docker container #617

@nikfio

Description

@nikfio

Comment:

Hello everyone,

for pipeline design purposes, I would like to build an image based on Linux and one based on Windows.
I always use MIniforge in my development computer and what I want is try to innstall it also in containers.

While on a Linux based image everything runs smoothly, I can't install MIniforge on a Windows based container.

Here are the steps I went through:

  1. download a windows image with powershell

docker pull m365pnp/powershell:1.10.0-nanoserver-1809

  1. run the container and spawn a powershell

docker run -it m365pnp/powershell:1.10.0-nanoserver-1809 pwsh

  1. download miniforge installation esecutable inside the container

curl -L -O -k "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe"

  1. Run installation

Start-Process "C:\Miniforge3-Windows-x86_64.exe" -ArgumentList "/S /D=C:\Miniforge3" -NoNewWindow -Wait

By launching the last step command It actually does nothing, no output and no installation performed.

Do you have any idea on the matter? Did you follow other ways to build a pipeline with windows based images?

Many thanks,
Nick

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedwindows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions