-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathDockerfile.jammy
42 lines (34 loc) · 1.82 KB
/
Dockerfile.jammy
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
FROM ubuntu:jammy
# Version of kernel to build. We'll checkout cod/mainline/$kver
ENV kver=v5.19.1
# The source tree from git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
ENV ksrc=/home/source
# The packages will be placed here
ENV kdeb=/home/debs
# Set the default series
ENV series=jammy
ARG DEBIAN_FRONTEND=noninteractive
# Install Build Dependencies
RUN set -x \
&& apt-get update && apt-get upgrade -y \
# && apt-get install -y --no-install-recommends software-properties-common \
# && apt-add-repository universe && apt-get update \
&& apt-get install -y --no-install-recommends \
autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf git fakeroot\
dh-strip-nondeterminism distro-info-data dwz file gettext gettext-base groff-base \
intltool-debian libarchive-zip-perl libbsd0 libdebhelper-perl libelf1 libexpat1 \
libfile-stripnondeterminism-perl libglib2.0-0 libicu-dev libmagic-mgc libmagic1 libmpdec3 \
libpipeline1 libpython3.11-stdlib libpython3.11-minimal libsigsegv2 \
libssl3 libsub-override-perl libtool libuchardet0 libxml2 \
lsb-release m4 man-db mime-support po-debconf python-apt-common python3-apt \
python3.11 python3.11-minimal sbsigntool tzdata dctrl-tools kernel-wedge \
libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev \
libiberty-dev autoconf bc build-essential libusb-1.0-0-dev libhidapi-dev curl wget \
cpio makedumpfile libcap-dev libnewt-dev libdw-dev rsync gnupg2 ca-certificates\
libunwind8-dev liblzma-dev libaudit-dev uuid-dev libnuma-dev lz4 xmlto equivs \
cmake pkg-config zstd dwarves devscripts python3-docutils asciidoc \
bindgen-0.56 rust-1.62-src
COPY build.sh /build.sh
COPY custom /custom
ENTRYPOINT ["/build.sh"]
CMD ["--update=yes", "--btype=binary"]