mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-02 10:41:46 -04:00
* Add new platform: Linux4Tegra(L4T) base * L4T: Add Nintendo Switch device to L4T Project * L4T: Add support for Nintendo Switch bootloader package to build system * Script Update: Extract Add support for tbz2 extension * Package Update: Update pulseaudio to latest building version, add patches to support ucm2 as that is what lakka is shipping. * New Package: Add rewritefs package, because we need to edit filenames on the fly, when using nintendo switch, as all data is saved to fat32 partition, where : is not a valid character in file names. eg. Bluetooth Configs * Package Update: Linux Add support for nintendo switch l4t kernel * Package Update: Busybox: Allow L4T device builds to just dump files in initramfs, such as firmware or new init script * New Package: Mergerfs * Package Update: Retroarch Bump version, and Add Nintendo Switch support, add support for X display server to retroarch start enviornment * New Package: xf86-video-nouveau * Package Update: libxkbcommon L4T fixes * Dockerfile: Add needed build dependencies for L4T Platform stuff. * Update Scripts: Add support for building L4T Switch to build_all script * Package Update: Mupen64plus_next Add Nintendo Switch build support * Package Update: Mame2015 Add support for building on Nintendo Switch * Package Update: Bluez Add support for Nintendo Switch * Package Update: libdrm remove libdrm.so.2 symlink with L4T boards, as nvidia supplies their own
78 lines
1.5 KiB
Docker
78 lines
1.5 KiB
Docker
#
|
|
# Lakka Dockerfile
|
|
#
|
|
# Allows building Lakka via Docker. This will install all the necessary libraries
|
|
# and dependencies in this Ubuntu 20.04 docker container.
|
|
#
|
|
# Usage:
|
|
#
|
|
# docker build -t lakka .
|
|
# docker run --rm -it -v $(pwd):/home/ubuntu lakka
|
|
#
|
|
# Once inside the docker container, you can start building e.g,.
|
|
#
|
|
# PROJECT=OdroidXU3 ARCH=arm make image
|
|
#
|
|
# Bulding a single package:
|
|
#
|
|
# PROJECT=OdroidXU3 ARCH=arm scripts/build ppsspp
|
|
#
|
|
|
|
FROM ubuntu:focal
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update \
|
|
&& apt-get upgrade -y \
|
|
&& apt-get install -y \
|
|
liblz4-tool \
|
|
python3 \
|
|
python2-minimal \
|
|
default-jre \
|
|
sudo \
|
|
bash \
|
|
bc \
|
|
rsync \
|
|
bsdmainutils \
|
|
build-essential \
|
|
bzip2 \
|
|
diffutils \
|
|
g++-7 \
|
|
gawk \
|
|
gcc-7 \
|
|
git-core \
|
|
gperf \
|
|
gzip \
|
|
libjson-perl \
|
|
libncurses5-dev \
|
|
lzop \
|
|
make \
|
|
patch \
|
|
patchutils \
|
|
perl \
|
|
sed \
|
|
tar \
|
|
texinfo \
|
|
u-boot-tools \
|
|
unzip \
|
|
wget \
|
|
xfonts-utils \
|
|
xsltproc \
|
|
xz-utils \
|
|
xxd \
|
|
zip \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 100
|
|
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 100
|
|
RUN update-alternatives --auto gcc
|
|
RUN update-alternatives --auto g++
|
|
RUN ln -s /usr/bin/python2 /usr/bin/python
|
|
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 ubuntu
|
|
RUN echo "ubuntu ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-cloudimg-ubuntu
|
|
USER ubuntu
|
|
WORKDIR /home/ubuntu
|
|
ENV HOME /home/ubuntu
|
|
ENV DISTRO Lakka
|
|
VOLUME /home/ubuntu
|
|
|
|
CMD bash
|