Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 26 additions & 27 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,41 @@ ARG LINUX_SOURCE=linux-source-5.0.0=5.0.0-47.51~18.04.1

ENV DEBIAN_FRONTEND=noninteractive
RUN set -x \
&& apt-get --assume-yes update \
&& apt-get --assume-yes download \
&& apt-get --assume-yes update \
&& apt-get --assume-yes download \
${LINUX_FIRMWARE} \
${LINUX_SOURCE} \
&& mkdir -vp ${DOWNLOADS} \
&& mv -vf linux-firmware* ${DOWNLOADS}/ubuntu-firmware.deb \
&& mv -vf linux-source* ${DOWNLOADS}/ubuntu-kernel.deb
&& mkdir -vp ${DOWNLOADS} \
&& mv -vf linux-firmware* ${DOWNLOADS}/ubuntu-firmware.deb \
&& mv -vf linux-source* ${DOWNLOADS}/ubuntu-kernel.deb

FROM ${APT_GCC}
ARG DOWNLOADS=/usr/src/downloads
# Wireguard support, included in Linux in 5.6+
ARG WG_URL="https://git.zx2c4.com"
ARG WG_URL="https://github.com/1898andCo/"
ARG WG_REPO="wireguard-linux-compat"
ARG WG_TAG=v1.0.20200413
ARG WG_TAG=v1.0.20220627
COPY --from=bionic ${DOWNLOADS}/ ${DOWNLOADS}/
RUN apt-get update \
&& apt-get install -y \
kernel-wedge \
libncurses-dev \
fakeroot \
cpio \
bison \
flex \
ccache \
vim \
gnupg2 \
locales \
bc \
kmod \
libelf-dev \
rsync \
gawk \
libudev-dev \
pciutils-dev \
&& rm -f /bin/sh && ln -s /bin/bash /bin/sh

&& apt-get install -y \
kernel-wedge=2.99 \
libncurses-dev=6.1+20181013-2+deb10u3 \
fakeroot=1.23-1 \
cpio\
bison=2:3.3.2.dfsg-1 \
flex=2.6.4-6.2 \
ccache=3.6-1 \
vim=2:8.1.0875-5+deb10u5 \
gnupg2=2.2.12-1+deb10u2 \
locales=2.28-10+deb10u2 \
bc=1.07.1-2+b1\
kmod=26-1 \
libelf-dev=0.176-1.1 \
rsync=3.1.3-6 \
gawk=1:4.2.1+dfsg-1 \
libudev-dev=241-7~deb10u10 \
pciutils-dev \
&& rm -f /bin/sh && ln -s /bin/bash /bin/sh
########## Dapper Configuration #####################

ENV DAPPER_ENV VERSION DEBUG
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This repo can build the kernel and package the firmware.

# License
Copyright (c) 2019-2020 [Rancher Labs, Inc.](http://rancher.com)
Copyright (c) 2023 [1898 & Co](http://1898andco.com)
Copyright (c) 2023 [1898 & Co](http://1898andco..burnsmcd.com)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down