-
Notifications
You must be signed in to change notification settings - Fork 88
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
Gatsby CLI #11
Comments
@KyleAMathews we can do it. Have you though about it? |
This would be great to see! I haven't looked into doing this though. |
Somewhat related if you run a container with |
if we had the gatsby-cli build in, would that allow us to generate a new project with the docker image, and if so whats the easiest way to get those files back out, export them to host or bind mount volume? regards |
For the builder to be able to build another docker image, we would need to integrate docker in docker. So I was wondering if we could build a basic image just with the cli and a default path where users could mount their project folder in. From there, the only purpose of it would be just the This would be compatible with most of the CI/CD systems that are docker friendly.
@mrhut10 do you have any other ideas? |
@cusspvz mmm, I wasn't talking about the initial build process, but the initial setup of a new project, using docker. i.e. creating a new gatsby project. However your commands you just mentioned with the mounted volumes might make that easy anyway seeing the created project files will end up back on the host. I'll try them out now and see. :) |
Old issues will be closed after 30 days of inactivity. This issue has been quiet for 20 days and is being marked as stale. Reply here or add the label "not stale" to keep this issue open! |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m Thanks again for being part of the Gatsby community! |
It would be really helpful if there was a Gatsby CLI image, similar to something like the Composer image.
That way you can use the CLI image to build the site in a multi-stage build.
The text was updated successfully, but these errors were encountered: