add hadolint
This commit is contained in:
parent
82c2913543
commit
07d4cb37c0
@ -5,6 +5,9 @@ name: default
|
||||
|
||||
steps:
|
||||
|
||||
- name: validate
|
||||
image: bunix42/pre-commit
|
||||
|
||||
- name: nextcloud-22-fpm
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
pre-commit-cache
|
6
.pre-commit-config.yaml
Normal file
6
.pre-commit-config.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/hadolint/hadolint
|
||||
rev: master
|
||||
hooks:
|
||||
- id: hadolint
|
||||
args: [--ignore, DL3008]
|
@ -3,6 +3,6 @@ FROM nextcloud:${NEXTCLOUD_VERSION}
|
||||
|
||||
LABEL org.opencontainers.image.authors="hanjo@bunix.de"
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3 \
|
||||
RUN apt-get update \
|
||||
&& apt-get install --no-install-recommends -y python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
Loading…
Reference in New Issue
Block a user