-
-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (23 loc) · 1.22 KB
/
Copy pathDockerfile
File metadata and controls
28 lines (23 loc) · 1.22 KB
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
FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive
SHELL ["/usr/bin/bash", "-c"]
RUN apt update \
&& apt install -y \
gcc-10 g++-10 make git unzip wget bison flex linux-libc-dev linux-libc-dev-arm64-cross \
xz-utils libsdl2-dev libsdl2-mixer-dev libfreeimage-dev libfreetype6-dev libcurl4-openssl-dev \
rapidjson-dev libasound2-dev libgl1-mesa-dev build-essential libboost-all-dev cmake fonts-droid-fallback \
libvlc-dev libvlccore-dev vlc-bin texinfo premake4 golang libssl-dev curl patchelf \
xmlstarlet patchutils gawk gperf xfonts-utils default-jre python xsltproc libjson-perl \
lzop libncurses5-dev device-tree-compiler u-boot-tools rsync p7zip unrar libparse-yapp-perl \
zip binutils-aarch64-linux-gnu dos2unix p7zip-full libvpx-dev bsdmainutils bc meson rdfind software-properties-common \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 \
&& add-apt-repository ppa:longsleep/golang-backports \
&& apt update \
&& apt upgrade -y \
&& apt autoremove --purge -y \
&& apt clean -y \
&& rm -rf /var/lib/apt/lists/*
RUN adduser --disabled-password --gecos '' docker
RUN mkdir -p /work && chown docker /work
WORKDIR /work
USER docker