mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 16:32:47 +01:00
fix: sticky loss (issue #66)
This commit is contained in:
parent
b0e1fa98c3
commit
57c75b6a09
1 changed files with 3 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
FROM ubuntu:16.04 as system
|
FROM ubuntu:16.04 as system
|
||||||
|
|
||||||
ARG localbuild
|
ARG localbuild
|
||||||
RUN if [ "x$localbuild" != "x" ]; then sed -i 's#http://archive.ubuntu.com/#http://qnap.dorowu.com/#' /etc/apt/sources.list; fi
|
RUN if [ "x$localbuild" != "x" ]; then sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list; fi
|
||||||
|
|
||||||
# built-in packages
|
# built-in packages
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
|
|
@ -55,7 +55,7 @@ RUN apt-get update \
|
||||||
FROM ubuntu:16.04 as builder
|
FROM ubuntu:16.04 as builder
|
||||||
|
|
||||||
ARG localbuild
|
ARG localbuild
|
||||||
RUN if [ "x$localbuild" != "x" ]; then sed -i 's#http://archive.ubuntu.com/#http://qnap.dorowu.com/#' /etc/apt/sources.list; fi
|
RUN if [ "x$localbuild" != "x" ]; then sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list; fi
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends curl ca-certificates
|
&& apt-get install -y --no-install-recommends curl ca-certificates
|
||||||
|
|
@ -80,10 +80,9 @@ RUN cd /src/web \
|
||||||
################################################################################
|
################################################################################
|
||||||
# merge
|
# merge
|
||||||
################################################################################
|
################################################################################
|
||||||
FROM scratch
|
FROM system
|
||||||
LABEL maintainer="fcwu.tw@gmail.com"
|
LABEL maintainer="fcwu.tw@gmail.com"
|
||||||
|
|
||||||
COPY --from=system / /
|
|
||||||
COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
||||||
COPY image /
|
COPY image /
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue