blob: 492ffde7f224aba737cac9b5c2b083df0b5eefa1 (
plain)
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
47
48
49
|
FROM debian:buster-slim
ARG DEBIAN_FRONTEND=noninteractive
# Docker for Jenkins really needs procps otherwise the Jenkins side fails
RUN apt-get update && apt-get install --no-install-recommends -y procps
# Set HOME to a writable directory in case something wants to cache things
# (e.g. obs)
ENV HOME=/tmp
ENV GOPATH=/usr/local/go
ENV PATH=$PATH:/usr/local/go/bin
# SSL / HTTPS support
RUN apt-get update && apt-get install --no-install-recommends -y \
apt-transport-https \
ca-certificates
# Dependencies to build debos
RUN apt-get update && apt-get install --no-install-recommends -y \
gcc \
golang-go \
git \
libc6-dev \
libostree-dev
# Build debos
RUN go get github.com/go-debos/debos/cmd/debos && \
go install github.com/go-debos/debos/cmd/debos
# Dependencies to run debos
RUN apt-get update && apt-get install --no-install-recommends -y \
binfmt-support \
busybox \
debootstrap \
dosfstools \
e2fsprogs \
linux-image-amd64 \
parted \
pkg-config \
qemu-system-x86 \
qemu-user-static \
systemd-container
# Extra packages needed by kernelCI
RUN apt-get update && apt-get install --no-install-recommends -y \
python \
python-requests \
xz-utils
|