Dockerfile

Dockerfile
This commit is contained in:
Kroese 2023-05-12 13:58:16 +02:00 committed by GitHub
commit d7faf4cd35
2 changed files with 7 additions and 4 deletions

View file

@ -7,11 +7,13 @@ on:
- master - master
paths-ignore: paths-ignore:
- '**/*.md' - '**/*.md'
- '**/*.yml'
- '.gitignore' - '.gitignore'
- '.dockerignore' - '.dockerignore'
- '.github/**' - '.github/**'
- '.github/workflows/**' - '.github/workflows/**'
- 'Dockerfile'
jobs: jobs:
shellcheck: shellcheck:
name: Test name: Test

View file

@ -4,7 +4,7 @@ ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND noninteractive ARG DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y upgrade && \ RUN apt-get update && apt-get -y upgrade && \
apt-get --no-install-recommends -y install \ apt-get --no-install-recommends -y install \
wget \ wget \
procps \ procps \
iptables \ iptables \
@ -14,10 +14,11 @@ RUN apt-get update && apt-get -y upgrade && \
ca-certificates \ ca-certificates \
netcat-openbsd \ netcat-openbsd \
qemu-system-x86 \ qemu-system-x86 \
&& apt-get clean && apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY run/*.sh /run/ COPY run/*.sh /run/
RUN ["chmod", "+x", "/run/run.sh"] RUN chmod +x /run/*.sh
VOLUME /storage VOLUME /storage