forked from libretro/Lakka-LibreELEC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
74 lines (70 loc) · 1.32 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
# 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 \
libc6-dev-i386 \
python2-minimal \
default-jre \
sudo \
bash \
bc \
rsync \
bsdmainutils \
build-essential \
bzip2 \
diffutils \
g++ \
gawk \
gcc \
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 \
zip \
&& rm -rf /var/lib/apt/lists/*
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