forked from go-debos/fakemachine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (17 loc) · 798 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM debian:stretch-slim
ARG DEBIAN_FRONTEND=noninteractive
ENV HOME=/scratch
# 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
# Bits needed to build fakemachine
RUN apt-get update && \
apt-get install --no-install-recommends -y golang-go git ca-certificates
WORKDIR /scratch