Skip to content

Commit

Permalink
Switch to alpine package for yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleplus committed Apr 7, 2024
1 parent d76b5df commit 34a680f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Docker container with utilities to process YAML files (yamllint...).
[![Docker Build](https://github.com/leplusorg/docker-yaml/workflows/Docker/badge.svg)](https://github.com/leplusorg/docker-yaml/actions?query=workflow:"Docker")
[![Docker Stars](https://img.shields.io/docker/stars/leplusorg/yaml)](https://hub.docker.com/r/leplusorg/yaml)
[![Docker Pulls](https://img.shields.io/docker/pulls/leplusorg/yaml)](https://hub.docker.com/r/leplusorg/yaml)
[![Docker Automated](https://img.shields.io/docker/cloud/automated/leplusorg/yaml)](https://hub.docker.com/r/leplusorg/yaml)
[![Docker Build](https://img.shields.io/docker/cloud/build/leplusorg/yaml)](https://hub.docker.com/r/leplusorg/yaml)
[![Docker Version](https://img.shields.io/docker/v/leplusorg/yaml?sort=semver)](https://hub.docker.com/r/leplusorg/yaml)

## Example not using the filesystem
Expand Down
3 changes: 1 addition & 2 deletions yaml/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM alpine:3.19.1

# hadolint ignore=DL3018
RUN apk --update --no-cache add build-base python3-dev py3-setuptools py3-pip \
RUN apk --update --no-cache add build-base python3-dev py3-setuptools py3-pip yamllint \
&& rm -rf /var/cache/apk/*

# hadolint ignore=DL3013
RUN pip3 install --no-cache-dir --upgrade --break-system-packages \
jq \
json2yaml \
yamllint \
yamlpath \
yq

0 comments on commit 34a680f

Please sign in to comment.