Clean apt lists

This commit is contained in:
Kroese 2023-05-12 13:39:55 +02:00 committed by GitHub
parent ea61b156b1
commit 54336bb8c9

View File

@ -13,7 +13,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 \
curl \ curl \
cpio \ cpio \
wget \ wget \
@ -31,16 +31,14 @@ RUN apt-get update && apt-get -y upgrade && \
ca-certificates \ ca-certificates \
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/
COPY agent/*.sh /agent/ COPY agent/*.sh /agent/
COPY --from=builder /qemu-host.bin /run/host.bin COPY --from=builder /qemu-host.bin /run/host.bin
RUN ["chmod", "+x", "/run/run.sh"] RUN ["chmod", "+x", "/run/run.sh /run/check.sh /run/server.sh /run/host.bin"]
RUN ["chmod", "+x", "/run/check.sh"]
RUN ["chmod", "+x", "/run/server.sh"]
RUN ["chmod", "+x", "/run/host.bin"]
VOLUME /storage VOLUME /storage