Sign inSign up

flemay/netlify

By flemay

•Updated almost 7 years ago

[DEPRECATED - Use node module instead] Docker image of latest version of Netlify CLI, always!

Image
0

471

flemay/netlify repository overview

Build Status Docker Build Status Generic badge License

⁠Docker - Netlify

DEPRECATED - Use node module instead

Docker image of the latest version of Netlify CLI⁠, always!

⁠What's inside the image

⁠Usage

# pull image
$ docker pull flemay/netlify
# deploy to netlify
$ docker run --rm -v $PWD:/opt/app flemay/netlify netlifyctl --yes -A "$NETLIFY_TOKEN" deploy --site-id "$NETLIFY_SITE_ID"
# Development

# generate .env file
$ make envfile
# build image
$ make build
# test image
$ make test
# go inside a netlify container
$ make shell

⁠Example

The 3 Musketeers⁠ project uses it to deploy its website to Netlify.

⁠Versioning

This image will always be built with the tag latest so tools will always be up to date. This may cause issues if any tool has a breaking change.

⁠Automated build process

In a nutshell, any change to master triggers a Travis build⁠ and if the tests passed it triggers a Docker Hub build⁠. The automatic build on Docker Hub has been disabled ensuring the build process to go only through Travis.

A cron task in Travis triggers a build periodically making the image as up to date as possible automatically.

Tag summary

Content type

Image

Digest

Size

10.1 MB

Last updated

almost 7 years ago

docker pull flemay/netlify