Update Dockerfile
This commit is contained in:
parent
18dfde92fc
commit
914dfec95d
1 changed files with 8 additions and 5 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,7 +1,10 @@
|
||||||
|
ARG VERSION_ARG="latest"
|
||||||
|
|
||||||
|
FROM qemux/qemu:${VERSION_ARG} AS src
|
||||||
FROM debian:trixie-slim
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
|
ARG VERSION_ARG="0.0"
|
||||||
ARG VERSION_VNC="1.6.0"
|
ARG VERSION_VNC="1.6.0"
|
||||||
ARG VERSION_ARG="latest"
|
|
||||||
|
|
||||||
ARG DEBCONF_NOWARNINGS="yes"
|
ARG DEBCONF_NOWARNINGS="yes"
|
||||||
ARG DEBIAN_FRONTEND="noninteractive"
|
ARG DEBIAN_FRONTEND="noninteractive"
|
||||||
|
@ -46,10 +49,10 @@ RUN set -eu && \
|
||||||
echo "$VERSION_ARG" > /run/version && \
|
echo "$VERSION_ARG" > /run/version && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
COPY --from=qemux/qemu:${VERSION_ARG} /run /run
|
COPY --from=src /run /run
|
||||||
COPY --from=qemux/qemu:${VERSION_ARG} /var/www /var/www
|
COPY --from=src /var/www /var/www
|
||||||
COPY --from=qemux/qemu:${VERSION_ARG} /usr/share/novnc /usr/share/novnc
|
COPY --from=src /usr/share/novnc /usr/share/novnc
|
||||||
COPY --from=qemux/qemu:${VERSION_ARG} /etc/nginx/sites-enabled /etc/nginx/sites-enabled
|
COPY --from=src /etc/nginx/sites-enabled /etc/nginx/sites-enabled
|
||||||
|
|
||||||
COPY --chmod=755 ./src /run/
|
COPY --chmod=755 ./src /run/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue