Sign inSign up

hdcore/docker-stylelint

By hdcore

Updated 8 months ago

Node image with stylelint for use in CI

Image
Developer tools
0

883

hdcore/docker-stylelint repository overview

HDCore - docker-stylelint

Introduction

This is a small container image that contains a Node environment with stylelint. This container is very usefull for automatic testing during CI.

Image usage

  • Run stylelint:
docker run --rm -v /path/to/code:/code hdcore/docker-stylelint:<version> stylelint.sh <arguments>
  • Run shell:
docker run -it --rm -v /path/to/code:/code hdcore/docker-stylelint:<version> /bin/sh
  • Use in .gitlab-ci.yml:
image: hdcore/docker-stylelint:<version>
script: stylelint.sh <arguments>

Available tags

  • hdcore/docker-stylelint:16

Container Registries

The image is stored on multiple container registries at dockerhub and gitlab:

  • Docker Hub:
    • hdcore/docker-stylelint
    • registry.hub.docker.com/hdcore/docker-stylelint
  • Gitlab:
    • registry.gitlab.com/hdcore-docker/docker-stylelint

Building image

Build:

docker compose build local-stylelint-16

Running the image

Default
docker compose run --rm local-stylelint-16

Tag summary

Content type

Image

Digest

sha256:fb1290796

Size

63 MB

Last updated

8 months ago

docker pull hdcore/docker-stylelint:16