[DEPRECATED - Use node module instead] Docker image of latest version of Netlify CLI, always!
471
DEPRECATED - Use node module instead
Docker image of the latest version of Netlify CLI, always!
# 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
The 3 Musketeers project uses it to deploy its website to Netlify.
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.
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.
Content type
Image
Digest
Size
10.1 MB
Last updated
almost 7 years ago
docker pull flemay/netlify