mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Dockerfile
Dockerfile
This commit is contained in:
commit
a15eec17af
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -11,6 +11,7 @@ on:
|
||||
- '.dockerignore'
|
||||
- '.github/**'
|
||||
- '.github/workflows/**'
|
||||
- 'Dockerfile'
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
|
@ -30,17 +30,15 @@ RUN apt-get update && apt-get -y upgrade && \
|
||||
netcat-openbsd \
|
||||
ca-certificates \
|
||||
qemu-system-x86 \
|
||||
&& apt-get clean
|
||||
&& 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/*.sh && chmod +x /run/*.bin
|
||||
|
||||
VOLUME /storage
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user