forked from batocera-linux/batocera.linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
61 lines (56 loc) · 1.15 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
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y -o APT::Immediate-Configure=0 libc6:i386 \
libncurses6:i386 \
libstdc++6:i386 \
build-essential \
git \
libncurses6 \
libncurses-dev \
libssl-dev \
mercurial \
texinfo \
zip \
default-jre \
imagemagick \
subversion \
autoconf \
automake \
bison \
scons \
libglib2.0-dev \
bc \
mtools \
u-boot-tools \
flex \
wget \
cpio \
dosfstools \
libtool \
rsync \
device-tree-compiler \
gettext \
locales \
graphviz \
python3 \
gcc-multilib \
g++-multilib \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Set locale
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV TZ Europe/Paris
# Workaround host-tar configure error
ENV FORCE_UNSAFE_CONFIGURE 1
# device-tree-compiler : required for device-trees-aml-s9xx
# libc6:i386 libncurses5:i386 libstdc++6:i386: required for mame2016
# gettext : required for buildstats.sh
RUN mkdir -p /build
WORKDIR /build
CMD ["/bin/bash"]