Skip to content
Snippets Groups Projects
Commit 04badfa5 authored by Nicolas Richart's avatar Nicolas Richart Committed by Nicolas Richart
Browse files

Linting dockerfiles

parent 32a44962
No related branches found
No related tags found
No related merge requests found
---
failure-threshold: "style" # name of threshold level (error | warning | info | style | ignore | none)
format: "codeclimate" # Output format (tty | json | checkstyle | codeclimate | gitlab_codeclimate | gnu | codacy)
ignored: ["DL3041"] # list of rules
ignored:
- "DL3008" # Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
- "DL3033" # Specify version with `yum install -y <package>-<version>`.
- "DL3041" # Specify version with dnf install -y <package>-<version>
no-color: false # true | false
strict-labels: true # true | false
trustedRegistries:
- "registry.hpc.epfl.ch" # registry or list of registries
- "registry.c4science.ch"
- "docker.io"
FROM debian:12-slim
RUN apt -qq update && apt -qq -y install \
RUN apt-get -qq update && apt-get -qq -y install --no-install-recommends \
squashfuse fuse3 rsync \
&& rm -rf /var/lib/apt/lists/*
......@@ -26,7 +26,7 @@ RUN yum install -y --enablerepo=$APPSTREAM_REPO \
python3 python3-pip python3-setuptools python3-boto3 \
git subversion mercurial \
ninja-build \
libglvnd-devel
libglvnd-devel \
glibc-gconv-extra \
libatomic \
squashfs-tools \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment