From 34a680f86cb86846ca8a45fc0e5c9edda4d47b60 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Sat, 6 Apr 2024 23:54:07 -0500 Subject: [PATCH] Switch to alpine package for yamllint --- README.md | 2 -- yaml/Dockerfile | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 5eeebac..392bebd 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/yaml/Dockerfile b/yaml/Dockerfile index f341be5..d3234f9 100644 --- a/yaml/Dockerfile +++ b/yaml/Dockerfile @@ -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