Update Dockerfile

This commit is contained in:
Alice King Tai Poon 潘景泰 2024-07-18 15:29:06 +08:00 committed by GitHub
parent 279ab064ce
commit e066a98b51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,10 +6,9 @@ ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND="noninteractive"
ARG DEBCONF_NONINTERACTIVE_SEEN="true"
RUN lspci | egrep -i 'vga|3d|display'
RUN sudo lspci | egrep -i 'vga|3d|display'
RUN set -eu && \
apt-get update && \
apt-get --no-install-recommends -y install \
apt-get --no-install-recommends -yfm --update install \
bc \
curl \
7zip \
@ -39,4 +38,4 @@ ENV CPU_CORES "8"
ENV DISK_SIZE "512G"
ENV VERSION "win11e"
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
ENTRYPOINT ["sudo", "/usr/bin/tini", "-s", "/run/entry.sh"]