From c15543eab2207a2546c1b6ed0eabb40af19b1f56 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Mon, 3 Jan 2022 14:43:11 -0500 Subject: Update README with more pertinent info --- README.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ad31271..be935f0 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit