mirror of
https://github.com/yuzu-emu/build-environments.git
synced 2024-12-23 01:05:33 +00:00
linux-flatpak: Merge apt-get RUN statements
This commit is contained in:
parent
09245ff74e
commit
9daa154e90
|
@ -1,9 +1,16 @@
|
|||
FROM ubuntu:18.04
|
||||
FROM ubuntu:20.04
|
||||
MAINTAINER yuzu
|
||||
|
||||
RUN useradd -m -s /bin/bash yuzu
|
||||
RUN apt-get update && apt-get -y full-upgrade && apt-get install --no-install-recommends -y flatpak flatpak-builder ca-certificates
|
||||
RUN flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
RUN flatpak install -v -y flathub org.kde.Platform//5.13 org.kde.Sdk//5.13
|
||||
RUN apt-get install --no-install-recommends -y build-essential libsdl2-dev libssl-dev python qtbase5-dev qtwebengine5-dev libqt5opengl5-dev wget git ccache cmake ninja-build dnsutils gnupg2 sshfs fuse elfutils
|
||||
|
||||
RUN useradd -m -s /bin/bash yuzu && DEBIAN_FRONTEND=noninteractive apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get -y full-upgrade \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
||||
flatpak flatpak-builder \
|
||||
librsvg2-common \
|
||||
ca-certificates build-essential libsdl2-dev libssl-dev \
|
||||
python qtbase5-dev qtwebengine5-dev libqt5opengl5-dev \
|
||||
wget git ccache cmake \
|
||||
ninja-build dnsutils gnupg2 \
|
||||
sshfs fuse elfutils \
|
||||
&& rm -Rf /var/lib/apt/lists/* \
|
||||
&& flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo \
|
||||
&& flatpak install -v -y flathub org.kde.Platform//5.13 org.kde.Sdk//5.13
|
||||
|
|
Loading…
Reference in a new issue