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 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