mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
Clean apt lists
This commit is contained in:
parent
ea61b156b1
commit
54336bb8c9
10
Dockerfile
10
Dockerfile
@ -13,7 +13,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 \
|
||||
curl \
|
||||
cpio \
|
||||
wget \
|
||||
@ -31,16 +31,14 @@ RUN apt-get update && apt-get -y upgrade && \
|
||||
ca-certificates \
|
||||
qemu-system-x86 \
|
||||
&& apt-get clean
|
||||
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
COPY run/*.sh /run/
|
||||
COPY agent/*.sh /agent/
|
||||
|
||||
COPY --from=builder /qemu-host.bin /run/host.bin
|
||||
|
||||
RUN ["chmod", "+x", "/run/run.sh"]
|
||||
RUN ["chmod", "+x", "/run/check.sh"]
|
||||
RUN ["chmod", "+x", "/run/server.sh"]
|
||||
RUN ["chmod", "+x", "/run/host.bin"]
|
||||
RUN ["chmod", "+x", "/run/run.sh /run/check.sh /run/server.sh /run/host.bin"]
|
||||
|
||||
VOLUME /storage
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user