Update to Ubuntu 22.04 and add cleanup to dockerfile

This commit is contained in:
Uruk
2024-03-04 01:55:26 +01:00
parent b5d7972003
commit 657a2c0a55
2 changed files with 36 additions and 29 deletions

View File

@@ -1,31 +1,38 @@
ARG IMAGE
FROM ${IMAGE}
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y software-properties-common && \
add-apt-repository -y ppa:ubuntu-support-team/meson
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
debhelper \
devscripts \
meson \
pkg-config \
libstdc++6 \
libgbm-dev \
libdrm-dev \
libx11-6 \
libx11-dev \
libx11-xcb1 \
libx11-xcb-dev \
libxcb-dri2-0 \
libxcb-dri2-0-dev \
libxdamage1 \
libxdamage-dev \
libxext6 \
libxext-dev \
libxfixes3 \
libxfixes-dev \
libwayland-client0 \
libwayland-dev && \
rm -rf /var/lib/apt/lists/*
build-essential \
debhelper \
devscripts \
meson \
pkg-config \
libstdc++6 \
libgbm-dev \
libdrm-dev \
libx11-6 \
libx11-dev \
libx11-xcb1 \
libx11-xcb-dev \
libxcb-dri2-0 \
libxcb-dri2-0-dev \
libxdamage1 \
libxdamage-dev \
libxext6 \
libxext-dev \
libxfixes3 \
libxfixes-dev \
libwayland-client0 \
libwayland-dev && \
&& apt-get clean autoclean --yes \
&& apt-get autoremove --yes \
&& rm -rf /var/cache/apt/archives* /var/lib/apt/lists/*
COPY . /src/
WORKDIR /src/