From ea582ac8db9096aec0a5f6f87afde71576e3b7c7 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 12 May 2023 13:55:54 +0200 Subject: [PATCH 1/2] Build --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1cd0001..2fe6dea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,11 +7,13 @@ on: - master paths-ignore: - '**/*.md' + - '**/*.yml' - '.gitignore' - '.dockerignore' - '.github/**' - '.github/workflows/**' - + - 'Dockerfile' + jobs: shellcheck: name: Test From 397e155176f5cb78df58760976fc2189d8bf170b Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 12 May 2023 13:57:43 +0200 Subject: [PATCH 2/2] Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f9aedf1..0b4869f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG DEBCONF_NOWARNINGS="yes" ARG DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get -y upgrade && \ - apt-get --no-install-recommends -y install \ + apt-get --no-install-recommends -y install \ wget \ procps \ iptables \ @@ -14,10 +14,11 @@ RUN apt-get update && apt-get -y upgrade && \ ca-certificates \ netcat-openbsd \ qemu-system-x86 \ - && apt-get clean + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* COPY run/*.sh /run/ -RUN ["chmod", "+x", "/run/run.sh"] +RUN chmod +x /run/*.sh VOLUME /storage