feat: added docker build container and improved build script
This commit is contained in:
35
build-container/Dockerfile
Normal file
35
build-container/Dockerfile
Normal file
@@ -0,0 +1,35 @@
|
||||
FROM ubuntu:22.10
|
||||
|
||||
RUN rm -f /etc/apt/apt.conf.d/docker-clean
|
||||
|
||||
RUN --mount=type=cache,target=/var/cache/apt \
|
||||
--mount=type=cache,target=/var/lib/apt/lists \
|
||||
DEBIAN_FRONTEND="noninteractive" apt-get update \
|
||||
&& apt-get -y install tzdata
|
||||
|
||||
RUN --mount=type=cache,target=/var/cache/apt \
|
||||
--mount=type=cache,target=/var/lib/apt/lists \
|
||||
apt-get update \
|
||||
&& apt-get install -y \
|
||||
autoconf \
|
||||
automake \
|
||||
build-essential \
|
||||
clang \
|
||||
cmake \
|
||||
dos2unix \
|
||||
g++ \
|
||||
gcc \
|
||||
gdb \
|
||||
git \
|
||||
libtool \
|
||||
locales-all \
|
||||
make \
|
||||
ninja-build \
|
||||
python3 \
|
||||
python3-dev \
|
||||
rsync \
|
||||
tar \
|
||||
valgrind \
|
||||
wget \
|
||||
xorriso \
|
||||
&& apt-get clean
|
||||
Reference in New Issue
Block a user