File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: BSD-3-Clause
2
+ # Copyright (c) 2024, Unikraft GmbH and The KraftKit Authors.
3
+ # Licensed under the BSD-3-Clause License (the "License").
4
+ # You may not use this file except in compliance with the License.
5
+
6
+ FROM kraftkit.sh/base-golang:latest
7
+
8
+ RUN set -xe; \
9
+ apt-get update; \
10
+ apt-get install -y \
11
+ binutils \
12
+ bison \
13
+ build-essential \
14
+ cmake \
15
+ flex \
16
+ gcc \
17
+ git \
18
+ iasl \
19
+ libglib2.0-dev \
20
+ libncurses5-dev \
21
+ libpixman-1-dev \
22
+ libslirp-dev \
23
+ libssh2-1-dev \
24
+ libssl-dev \
25
+ libyajl-dev \
26
+ make \
27
+ ninja-build \
28
+ perl \
29
+ pkg-config \
30
+ python3 \
31
+ python3-pip \
32
+ python3-setuptools \
33
+ python3-wheel \
34
+ uuid-dev; \
35
+ pip3 install python-config --break-system-packages; \
36
+ git clone -b stable-4.18 https://xenbits.xen.org/git-http/xen.git /xen; \
37
+ cd /xen; \
38
+ ./configure; \
39
+ make -j install-tools; \
40
+ apt-get clean; \
41
+ rm -rf /var/lib/apt/lists/*; \
42
+ ldconfig;
43
+
44
+ WORKDIR /go/src/kraftkit.sh
45
+
46
+ COPY . .
47
+
48
+ ENV DOCKER=
49
+ ENV GOROOT=/usr/local/go
50
+ ENV KRAFTKIT_LOG_LEVEL=debug
51
+ ENV KRAFTKIT_LOG_TYPE=basic
52
+ ENV PAGER=cat
53
+ ENV PATH=$PATH:/go/src/kraftkit.sh/dist
You can’t perform that action at this time.
0 commit comments