Add docker build environment
2 files changed, 21 insertions(+), 0 deletions(-)

A => docker/Dockerfile
A => docker/focal-security.list
A => docker/Dockerfile +20 -0
@@ 0,0 1,20 @@ 
+FROM ubuntu:22.04
+
+ADD focal-security.list /etc/apt/sources.list.d/focal-security.list
+
+RUN apt update \
+ && apt upgrade -y \
+ && DEBIAN_FRONTEND=noninteractive apt install -y \
+        pkg-config build-essential ninja-build automake autoconf libtool wget \
+	curl git gcc libssl-dev bc slib squashfs-tools kmod vim-nox \
+	android-sdk-libsparse-utils jq python3-distutils scons parallel tree \
+	python3-dev python3-pip device-tree-compiler ssh cpio fakeroot \
+	libncurses5 flex bison libncurses5-dev genext2fs rsync unzip \
+	dosfstools mtools tcl openssh-client cmake libssl1.1 \
+ && apt clean \
+ && apt autoclean
+
+RUN groupadd user \
+ && useradd -g user -G users,root -m user \
+ && echo "user:user" | chpasswd -c SHA512
+

          
A => docker/focal-security.list +1 -0
@@ 0,0 1,1 @@ 
+deb http://security.ubuntu.com/ubuntu focal-security main