alpine/flake8

Sponsored OSS

By alpine

Updated 2 days ago

Auto-trigger docker build for fake8 via ci cronjob

Image

1M+

flake8

Auto-trigger docker build for flake8 when new release is announced

Multi-arch supported (linux/arm/v7,linux/arm64/v8,linux/arm/v6,linux/amd64,linux/ppc64le,linux/s390x)

Repo:

https://github.com/alpine-docker/multi-arch-libs/blob/master/flake8/Dockerfile

Daily build logs:

Docker images are built together:

https://app.circleci.com/pipelines/github/alpine-docker/multi-arch-libs

Image list:

https://github.com/alpine-docker/multi-arch-libs/tree/master#image-details

Docker iamge tags:

https://hub.docker.com/r/alpine/flake8/tags/

Usage:

# must mount the local folder to /apps in container.
docker run -ti --rm -v $(pwd):/apps alpine/flake8:3.5.0 local_file.py

# run flake8 container as command
alias flake="docker run -ti --rm -v $(pwd):/apps alpine/flake8:3.5.0"
flake --help
flake local_file.py

The Processes to build this image

  • Enable CI cronjob on this repo to run build regularly on master branch (Weekly)
  • Build and push the images with latest version
  • Run the latest image locally and get the application version
  • Tag the image with the version, from previous step
  • push the image with version via tool called crane

Docker Pull Command

docker pull alpine/flake8