Islandora-Devops / isle-dc

ISLE 8 - Dockerized Islandora 8 Deployment orchestrated with docker-compose
MIT License
23 stars 57 forks source link

Problem running demo in Windows #181

Open lsempe77 opened 2 years ago

lsempe77 commented 2 years ago

Hello,

When I run make demo in Windows 10 (using cygwin) and end with the following error:

This is the output: Unable to find image 'islandora/drupal:1.0.0-alpha-6' locally 1.0.0-alpha-6: Pulling from islandora/drupal ba3557a56b15: Pull complete 4b5e1d09c4c6: Pull complete 0281acc2f9f4: Pull complete 76ba1a2c1ece: Pull complete 5d009a878c52: Pull complete 190e41e1ecf2: Pull complete e25c54460e1e: Pull complete 766b82239f98: Pull complete 21e11915bd04: Pull complete 4a944611c8fc: Pull complete 2fc3a6650f25: Pull complete 7dc772572619: Pull complete Digest: sha256:a5af7abd00e353db09f4b44db7f1678873dd9d4b40048e981bcf24cf669a75b5 Status: Downloaded newer image for islandora/drupal:1.0.0-alpha-6

bash: line 1: /generate-secrets.sh: Is a directory make: *** [Makefile:283: generate-secrets] Error 126

Any thoughts or ideas? Thanks in advance, LS

aOelschlager commented 2 years ago

I also had the same error running local using Ubuntu 20.04 on Windows 10 with WSL 2. When I remove the generate secrets parts out of the makefile it runs as expected. Is this related to this bug?

legfesnak commented 2 years ago

had similar problem. @aOelschlager what code did your remove? I tried just lines around 275-285 and got an error no target generate secrets etc.

joecorall commented 2 months ago

isle-buildkit does not build windows/amd64 images: https://github.com/Islandora-Devops/isle-buildkit/blob/3ad2d55bd37430c1c49aa0bc5e3f0809ffdf07df/docker-bake.hcl#L270-L272

If we wanted to add Windows docker support, adding that platform to the build would be the first step. More like a giant leap.

Not sure the cause of this initial bug, but the reason isle-dc can not run on Windows now is the secrets generation requires pulling the islandora/drupal docker image which has no windows/amd64 image. See https://github.com/Islandora-Devops/isle-dc/actions/runs/8752101333/job/24019060109?pr=385