From 8daa6fe6684705653115ddb6e97565949a975588 Mon Sep 17 00:00:00 2001 From: Martin Schurz Date: Tue, 17 Oct 2023 18:00:55 +0200 Subject: [PATCH] lint: SC30XX we don'tcare about POSIX compatibility Signed-off-by: Martin Schurz --- .hadolint.yaml | 2 ++ opensuse_tumbleweed-ansible-latest/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.hadolint.yaml b/.hadolint.yaml index c40dc36..0869ef0 100644 --- a/.hadolint.yaml +++ b/.hadolint.yaml @@ -6,3 +6,5 @@ ignored: - DL3033 # we don't want to pin versions - DL3041 # we don't want to pin versions - DL3037 # we don't want to pin versions + - SC3009 # we don't care aboint POSIX compatibility + - SC3037 # we don't care aboint POSIX compatibility diff --git a/opensuse_tumbleweed-ansible-latest/Dockerfile b/opensuse_tumbleweed-ansible-latest/Dockerfile index ba41262..abb1cb5 100644 --- a/opensuse_tumbleweed-ansible-latest/Dockerfile +++ b/opensuse_tumbleweed-ansible-latest/Dockerfile @@ -2,7 +2,8 @@ FROM opensuse/tumbleweed:latest LABEL maintainer="Sebastian Gumprich" ENV container=docker -RUN zypper install -y python ansible dbus-1 systemd-sysvinit shadow sudo +RUN zypper install -y python ansible dbus-1 systemd-sysvinit shadow sudo && \ + zypper clean RUN cp /usr/lib/systemd/system/dbus.service /etc/systemd/system/; \ sed -i 's/OOMScoreAdjust=-900//' /etc/systemd/system/dbus.service