ubuntu-desktop/Dockerfile

16 lines
412 B
Docker

FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
ADD custom.sh /tmp/
RUN sed -Eie 's/archive\.ubuntu\.com/ee.archive.ubuntu.com/g' /etc/apt/sources.list \
&& apt-get update \
&& apt-get install --yes --no-install-recommends \
linux-image-generic \
systemd \
systemd-sysv \
fdisk \
grub-efi-amd64 \
ubuntu-desktop \
&& /tmp/custom.sh \
&& apt-get autoremove -y \
&& apt-get clean