diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2022-01-03 14:43:11 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2022-01-03 14:43:11 -0500 |
| commit | c15543eab2207a2546c1b6ed0eabb40af19b1f56 (patch) | |
| tree | 4b34546b1cbad8bcd77e63c3d8c886d94442fe0d /README.md | |
| parent | c84b97d292a8c5f14ebfae172b0b7c830a6a8b9b (diff) | |
| download | submelon.dev-c15543eab2207a2546c1b6ed0eabb40af19b1f56.tar.gz submelon.dev-c15543eab2207a2546c1b6ed0eabb40af19b1f56.tar.bz2 submelon.dev-c15543eab2207a2546c1b6ed0eabb40af19b1f56.zip | |
Update README with more pertinent info
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 19 |
1 files changed, 3 insertions, 16 deletions
@@ -8,34 +8,21 @@ The Dockerfile works via a fresh clone, no pre-build or npm install is needed. I docker build --push -t registry.digitalocean.com/submelon-tech/submelon.tech:1.0.0 . ``` -Or if using M1/ARM, - -``` -docker buildx build --platform linux/amd64 --push -t registry.digitalocean.com/submelon-tech/submelon.tech:1.0.0 . -``` - (Reference authenticating to use DigitalOcean's Container Registry below.) If the build fails in error as a result of the image, the base gatsby images can be rebuilt. (The gatsby images as exist on Dockerhub do not work.) To rebuild those images, run the following commands: +To note, the gatsby-docker repository is now out of date. A newer node image must be used. + ``` cd .. git clone https://github.com/gatsbyjs/gatsby-docker cd gatsby-docker +# Change node:12-buster to node:lts-buster in Dockerfile.onbuild docker build -t gatsbyjs/gatsby:onbuild -f Dockerfile.onbuild . docker build -t gatsbyjs/gatsby:latest -f Dockerfile . ``` -Or if using M1/ARM, - -``` -cd .. -git clone https://github.com/gatsbyjs/gatsby-docker -cd gatsby-docker -docker buildx build --platform linux/amd64 -t gatsbyjs/gatsby:onbuild -f Dockerfile.onbuild . -docker buildx build --platform linux/amd64 -t gatsbyjs/gatsby:latest -f Dockerfile . -``` - And then attempt rebuild of the submelon.tech image. ### Authenticating with DO |
