Skip to content
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

Automated gatsby docker images #993

Closed
ghost opened this issue May 18, 2017 · 9 comments
Closed

Automated gatsby docker images #993

ghost opened this issue May 18, 2017 · 9 comments

Comments

@ghost
Copy link

ghost commented May 18, 2017

I created the automated gatsby docker images to simplify the overall working experience.

So, now it requires zero configuration to start working on your project. No need to install nodejs, python, git etc on your local machine - the docker will handle it for you. The images are extremely compact and include latest nodejs, yarn and preinstalled global gatsby. Actually, it takes less than two minutes to start working on your project!

As a start point I automated the basic images, from which we can inherit more complex behaviors.

There are multiple precompiled gatsby images:

  • legacy 0.x, (for each release starting from v0.12.44)
  • next 1.x (for each release starting from v1.0.0-alpha14)
  • dev canary with lerna and dev-cli embedded. (rebuild once a day)

Right now I'm working on detailed tutorials, explaining a more streamlined experience using docker compose.

What I need from you guys is feedback in the form of suggestions/criticism/remarks/whatever in order to improve the gatsby-docker functionality to it's best.

@KyleAMathews
Copy link
Contributor

Woah! This sounds fantastic! So you'd just run the docker image instead of running Gatsby directly?

@thetwosents
Copy link

+1 love dis. dc up all the things. great for deployment also.

@akadop
Copy link
Contributor

akadop commented Jun 6, 2017

@KyleAMathews

sounds about right. since it's linux based you don't need to worry about the multiple errors windows throws out when it comes to dealing with nodegyp / python / the sharper plugin, or even the page building process ( i know it was worked around by using the slash dependency )

@cmrn
Copy link

cmrn commented Aug 11, 2017

OP has deleted their account so sadly their docker images are no longer available. Maybe the Gatsby project could start publishing images themselves?

@KyleAMathews
Copy link
Contributor

@cmrn would you like to take this on?

@KyleAMathews
Copy link
Contributor

https://github.com/gatsbyjs/gatsby-docker is already largely there.

@rafaelrpbelo
Copy link

The links are broken.

@loganpowell
Copy link
Contributor

Having some issues on Windows deploying gatsby to a static site host (e.g., Netlify, github pages). Something like this would be handy. Sorry to ping on a closed issue...

@m-allanson
Copy link
Contributor

@loganpowell There's a new Gatsby-Docker tool that might be useful - see #4085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants