2021-09-30 09:47:20 +02:00
|
|
|
FROM debian:bullseye
|
2018-03-04 16:03:59 +01:00
|
|
|
|
2019-05-09 10:08:58 +02:00
|
|
|
# Set shell
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
|
2018-04-15 16:34:51 +02:00
|
|
|
# Docker
|
2019-05-09 10:11:42 +02:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
2018-04-15 16:34:51 +02:00
|
|
|
apt-transport-https \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
2019-05-12 11:00:07 +02:00
|
|
|
gpg-agent \
|
2020-05-26 08:02:53 +02:00
|
|
|
gpg \
|
|
|
|
dirmngr \
|
2018-04-15 16:34:51 +02:00
|
|
|
software-properties-common \
|
2024-01-19 11:02:34 +01:00
|
|
|
&& curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/docker.gpg \
|
|
|
|
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/docker.gpg] \
|
|
|
|
https://download.docker.com/linux/debian $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list \
|
2019-05-09 10:14:23 +02:00
|
|
|
&& apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
docker-ce \
|
2018-04-15 16:34:51 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2018-03-18 11:54:02 +01:00
|
|
|
|
2020-05-14 08:54:18 +02:00
|
|
|
# Build tools
|
2019-05-09 10:11:42 +02:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
2020-05-14 08:54:18 +02:00
|
|
|
bash \
|
|
|
|
bc \
|
|
|
|
binutils \
|
2020-05-26 08:02:53 +02:00
|
|
|
build-essential \
|
2020-05-14 08:54:18 +02:00
|
|
|
bzip2 \
|
|
|
|
cpio \
|
|
|
|
file \
|
|
|
|
git \
|
2022-07-08 22:36:02 +02:00
|
|
|
graphviz \
|
|
|
|
jq \
|
2020-05-14 08:54:18 +02:00
|
|
|
make \
|
|
|
|
ncurses-dev \
|
2022-07-08 22:36:02 +02:00
|
|
|
openssh-client \
|
2020-05-14 08:54:18 +02:00
|
|
|
patch \
|
|
|
|
perl \
|
2021-09-30 09:47:20 +02:00
|
|
|
python3 \
|
|
|
|
python3-matplotlib \
|
|
|
|
python-is-python3 \
|
2022-07-08 22:36:02 +02:00
|
|
|
qemu-utils \
|
2020-05-14 08:54:18 +02:00
|
|
|
rsync \
|
2022-07-08 22:36:02 +02:00
|
|
|
skopeo \
|
2020-05-14 08:54:18 +02:00
|
|
|
sudo \
|
|
|
|
unzip \
|
2020-10-27 09:32:32 +01:00
|
|
|
vim \
|
2022-07-08 22:36:02 +02:00
|
|
|
wget \
|
|
|
|
zip \
|
2021-10-04 10:06:26 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2018-04-16 15:31:15 +02:00
|
|
|
# Init entry
|
|
|
|
COPY scripts/entry.sh /usr/sbin/
|
|
|
|
ENTRYPOINT ["/usr/sbin/entry.sh"]
|
|
|
|
|
2018-03-04 16:03:59 +01:00
|
|
|
# Get buildroot
|
2018-03-07 22:24:16 +01:00
|
|
|
WORKDIR /build
|