-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
46 lines (42 loc) · 1.06 KB
/
Dockerfile
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
44
45
46
FROM ubuntu:21.10
MAINTAINER Farhan Patwa <[email protected]>
ENV DEBIAN_FRONTEND=noninteractive
ENV USER root
# build depends. Please keep the package list sorted
RUN apt-get update && \
apt-get --quiet --yes install --no-install-recommends \
automake \
build-essential \
ca-certificates \
file \
gcc \
git \
libpython2.7-stdlib \
libpython2.7-minimal \
libvirt-daemon-system \
locales \
openssh-client \
ovmf \
pigz \
pkg-config \
python \
python2.7 \
python3-dev \
python3-pip \
python3-venv \
python3-yaml \
qemu-kvm \
qemu-system-x86 \
qemu-utils \
rsync \
software-properties-common \
unzip \
rpm && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US.utf8 && \
dpkg-reconfigure locales && \
python3 -m pip install --upgrade setuptools wheel && \
usermod -aG kvm $(whoami)
WORKDIR /