forked from lakka-switch/Lakka-LibreELEC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
74 lines (65 loc) · 1.05 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
#
# Lakka Dockerfile for use with Gitlab CI/CD
#
FROM ubuntu:bionic
ARG uid
ARG branch=master
ENV branch=$branch
RUN apt-get update && \
apt-get install -y unzip && \
useradd -d /developer -m developer && \
chown -R developer:developer /developer
RUN apt-get upgrade -y \
&& apt-get install -y \
build-essential \
bash \
bc \
bzip2 \
diffutils \
g++ \
gawk \
gcc \
git-core \
gperf \
gzip \
libjson-perl \
libncurses5-dev \
lzop \
make \
patch \
patchutils \
perl \
sed \
tar \
texinfo \
unzip \
wget \
xfonts-utils \
xsltproc \
xz-utils \
zip \
libssl-dev \
u-boot-tools \
sudo \
libglib2.0-dev \
doxygen \
bsdmainutils \
swig \
curl \
gcc-arm-linux-gnueabi \
gcc-aarch64-linux-gnu \
libasound2 \
xxd \
meson \
ninja-build \
&& rm -rf /var/lib/apt/lists/*
RUN echo "developer:developer" | chpasswd && adduser developer sudo
ENV HOME=/developer
ENV DISTRO=Lakka
ENV PROJECT=Switch
ENV DEVICE=L4T
ENV ARCH=aarch64
USER root
WORKDIR /developer
VOLUME /developer
CMD /bin/bash