-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Docker image build process broken? #2112
Comments
@codecalm - Apologies for the following wall of text, but I've been attempting to update and build the docker image again, and I'm still running into some issues, which I'm hoping the following information might at least help you to provide some advice on.
Commenting this line out: Line 8 in 76f5de4
I played around a little bit to see if I could find the appropriate script to call in its place, but it's not clear which is the right one.
...and the Turborepo docs mention that the name of the script in Lines 6 to 9 in 76f5de4
to:
And ran
Would you be able to advise on the correct way to get a dev server & file watcher running during the process? I'm happy to contribute the fixes that were necessary to get things working if you wouldn't intend to add them yourself. |
Note, I managed to get things running by manually running |
Browser
N/A
OS
Windows 11
Screen size
N/A
Describe the bug
I've previously been able to run up the tabler docker image and edit/update the source code in real time as directed in the README.
However, after recently messing about with my local copy, I've since been unable to successfully build and run the docker image.
I'll admit that docker is still not something I'm 100% familiar with, so I may be missing something important, but I thought I knew at least enough to manage the basics - so I'm a little bit stumped as to the cause of the error I'm ending up with.
It manages to trigger
gulp start
, but then fails during this task a little bit later with the following:See below in 'How to reproduce' for more about what was going on, and questions I have...
How to reproduce
How I got here:
Before I started having these issues, I had been dealing with updating my local copy of the
dev
branch, after running into an annoying 'diverging branches' problem, and had assumed I replaced my localdev
branch with a fresh copy from origin based on the latest from the tabler repo. Although my guess is that this is (probably?) unrelated, I will also admit that perhaps I'm unaware of something in the process that then caused the docker image build to break.In any case, after apparently updating my local copy of
dev
to 9a46a8f:docker compose up --build
failed, because it was complaining about not being able to copy several files into the image: _config.yml and _config_prod.yml, removed in 6783960.I commented out references to these files in
Dockerfile
, but the build process still failed, this time with the error message mentioned above. (You’re trying to use a layout that does not exist: _includes/single (via 'layout: single')
)What confuses me
I have seen in the source code that
eleventy.config.mjs
specifies where to find the layout files, and it seems to me like this config should be working. The version of eleventy is correct enough as far as I can tell, and the file name seems to be specified correctly in2-step-verification-code.html
, so I'm not sure why the layout is not being found.Any advice about how to successfully get the docker image building again, or feedback about any steps I can try to further troubleshoot this would be gratefully received. Apologies in advance if I've left out something important or done something silly 🙏
Screenshots
No response
JSFiddle
No response
The text was updated successfully, but these errors were encountered: