Closed dylanrussellmd closed 7 months ago
You mean the container creation is succeed without ghcr.io/prulloac/devcontainer-features/latex:1
but failed with that?
If you do not set "installChromium": true
, the quarto
command should not be executed during container creation, so the container creation will succeed.
In that case, what happens when I run the quarto
command inside the created container?
Or what happens if you manually install the Quarto CLI deb package in a container with only ghcr.io/prulloac/devcontainer-features/latex:1
installed?
My guess is that this is because some directory used by Quarto CLI has been rewritten by ghcr.io/prulloac/devcontainer-features/latex:1
and Quarto CLI is no longer working.
In other words, there is nothing that can be done here and it is a bug in the Quarto CLI.
This may be due to PATH being overwritten. In that case this is a bug of ghcr.io/prulloac/devcontainer-features/latex:1
.
https://github.com/prulloac/devcontainer-features/blob/6d7fb8926bf924ca515bba370c139c98f6ce4f55/src/latex/install.sh#L39
I tried ghcr.io/prulloac/devcontainer-features/latex:1
but in my area I could not build the container because the latex installation fails or takes too long to install from mirror.
I did a few more tests and I am still convinced this is ghcr.io/prulloac/devcontainer-features/latex:1
's problem because after ghcr.io/prulloac/devcontainer-features/latex:1
, ghcr.io/meaningful-ooo/devcontainer-features/fish:1
also failed to find fish.
I did a few more tests and I am still convinced this is
ghcr.io/prulloac/devcontainer-features/latex:1
's problem because afterghcr.io/prulloac/devcontainer-features/latex:1
,ghcr.io/meaningful-ooo/devcontainer-features/fish:1
also failed to find fish.Details
Thanks for helping me figure this out - I posted the issue on their repository. I'm surprised this hasn't been reported before, seems like two features that would be called together often.
As a workaround, it may be possible to use overrideFeatureInstallOrder
to change the installation order and install ghcr.io/prulloac/devcontainer-features/latex:1
last.
I built a simple Codespaces container with the following
devcontainer.json
:This failed with the following error:
When built with this
devcontainer.json
...the build failed. The only difference is the presence of the
latex
feature. Any idea why these two are coming in to conflict in such a way that this error is produced:#18 7.594 bash: line 1: quarto: command not found