-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile.debian
43 lines (36 loc) · 1.38 KB
/
Dockerfile.debian
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
ARG VARIANT=bullseye
FROM debian:${VARIANT}-slim
ARG VARIANT
ARG DEBIAN_FRONTEND=noninteractive
# Always install procps in case the docker file gets used in jenkins
RUN apt update && apt-get install --no-install-recommends -y procps
# Bits needed to run fakemachine
RUN apt-get update && \
apt-get install --no-install-recommends -y qemu-system-x86 \
qemu-user-static \
busybox \
linux-image-amd64 \
systemd \
dbus \
libslirp-helper \
user-mode-linux
# Debian bookworm split systemd-resolved from systemd into separate package
RUN if [ "$VARIANT" != "bullseye" ] ; then \
apt-get install --no-install-recommends -y systemd-resolved; \
fi
# Bits needed to run debos
RUN apt-get update && \
apt-get install --no-install-recommends -y \
unzip
# Bits needed to build fakemachine
RUN apt-get update && \
apt-get install --no-install-recommends -y \
golang-go \
git \
ca-certificates \
gcc \
libc6-dev
# Bits needed to build debos
RUN apt-get update && \
apt-get install --no-install-recommends -y \
libostree-dev