Browse Source

use alpine image instead debian

pull/25/head 1.26.1-r0
fedy95 4 years ago
parent
commit
45bdc6198d
  1. 1
      .drone.yml
  2. 1
      README.md
  3. 8
      image/Dockerfile

1
.drone.yml

@ -41,5 +41,4 @@ steps:
- docker logout "$REGISTRY"
when:
event: tag
...

1
README.md

@ -5,3 +5,4 @@ Baseimage for CI tasks
---
- [yamllint git](https://github.com/adrienverge/yamllint)
- [alpine](https://pkgs.alpinelinux.org/packages?name=yamllint)

8
image/Dockerfile

@ -1,8 +1,8 @@
FROM debian:bullseye-slim
FROM alpine:3.14
RUN apt-get update && \
apt-get install -y yamllint && \
rm -rf /var/lib/apt/lists/*
RUN \
apk update && apk upgrade && \
apk add --no-cache yamllint==1.26.1-r0
COPY relaxed.yaml /yamllint/relaxed.yaml