diff --git a/Dockerfile.amd64 b/Dockerfile.amd64 index 87527f6..a5841ce 100644 --- a/Dockerfile.amd64 +++ b/Dockerfile.amd64 @@ -19,7 +19,7 @@ RUN apt update \ && apt install -y --no-install-recommends --allow-unauthenticated \ supervisor nginx sudo net-tools zenity xz-utils \ dbus-x11 x11-utils alsa-utils \ - mesa-utils libgl1-mesa-dri ca-certificates \ + mesa-utils libgl1-mesa-dri \ && apt autoclean -y \ && apt autoremove -y \ && rm -rf /var/lib/apt/lists/* @@ -32,14 +32,6 @@ RUN apt update \ && apt autoremove -y \ && rm -rf /var/lib/apt/lists/* -RUN apt update \ - && apt install -y gpg-agent \ - && curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ - && (dpkg -i ./google-chrome-stable_current_amd64.deb || apt-get install -fy) \ - && curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add \ - && rm google-chrome-stable_current_amd64.deb \ - && rm -rf /var/lib/apt/lists/* - RUN apt update \ && apt install -y --no-install-recommends --allow-unauthenticated \ lxde gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \ @@ -47,6 +39,15 @@ RUN apt update \ && apt autoremove -y \ && rm -rf /var/lib/apt/lists/* +RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list; + +RUN apt update \ + && apt install -y ca-certificates gnupg patch gpg-agent \ + && curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ + && (dpkg -i ./google-chrome-stable_current_amd64.deb || apt-get install -fy) \ + && curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add \ + && rm google-chrome-stable_current_amd64.deb \ + && rm -rf /var/lib/apt/lists/* # Additional packages require ~600MB # libreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw