-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add experimental Debian 11 (Bullseye) support
- Loading branch information
1 parent
c831018
commit 34889ac
Showing
10 changed files
with
193 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# | ||
# Balenalib doesn't currently distribute the built Debian SID (generic next | ||
# release) or Bullseye (Debian 11) containers, so this tries to build a | ||
# semblance of them based on their Dockerfile with some modifications. | ||
# See: https://github.com/balena-io-library/base-images/blob/master/balena-base-images/device-base/raspberrypi3/debian/sid/run/Dockerfile | ||
|
||
docker build \ | ||
-f docker/Dockerfile.balenalib-raspberrypi3-debian-bullseye-run \ | ||
-t balenalib-raspberrypi3-debian:bullseye-run \ | ||
docker | ||
|
||
docker build \ | ||
-f docker/Dockerfile.balenalib-raspberrypi3-debian-bullseye-build \ | ||
-t balenalib-raspberrypi3-debian:bullseye-build \ | ||
docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
docker/Dockerfile.balenalib-raspberrypi3-debian-bullseye-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Use this Dockerfile to build a Debian 11 (Bullseye) version of balenalib while | ||
# there is no such version yet officially. | ||
# | ||
# from https://github.com/balena-io-library/base-images/blob/master/balena-base-images/device-base/raspberrypi3/debian/sid/build/Dockerfile | ||
FROM balenalib/armv7hf-debian:sid-build | ||
LABEL io.balena.device-type="raspberrypi3" | ||
RUN echo "deb http://archive.raspbian.org/raspbian bullseye main contrib non-free rpi firmware" >> /etc/apt/sources.list \ | ||
&& apt-key adv --batch --keyserver ha.pool.sks-keyservers.net --recv-key 0x9165938D90FDDD2E | ||
# No bullseye repository yet: | ||
# && echo "deb http://archive.raspberrypi.org/debian bullseye main ui" >> /etc/apt/sources.list.d/raspi.list \ | ||
# && apt-key adv --batch --keyserver ha.pool.sks-keyservers.net --recv-key 0x82B129927FA3303E | ||
|
||
RUN apt-get update \ | ||
&& apt-get --with-new-pkgs upgrade -y \ | ||
&& apt-get install -y --no-install-recommends \ | ||
less \ | ||
libraspberrypi-bin \ | ||
kmod \ | ||
nano \ | ||
net-tools \ | ||
ifupdown \ | ||
iputils-ping \ | ||
i2c-tools \ | ||
usbutils \ | ||
&& apt autoremove \ | ||
&& rm -rf /var/lib/apt/lists/* |
26 changes: 26 additions & 0 deletions
26
docker/Dockerfile.balenalib-raspberrypi3-debian-bullseye-run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Use this Dockerfile to build a Debian 11 (Bullseye) version of balenalib while | ||
# there is no such version yet officially. | ||
# | ||
# from https://github.com/balena-io-library/base-images/blob/master/balena-base-images/device-base/raspberrypi3/debian/sid/run/Dockerfile | ||
FROM balenalib/armv7hf-debian:sid-run | ||
LABEL io.balena.device-type="raspberrypi3" | ||
RUN echo "deb http://archive.raspbian.org/raspbian bullseye main contrib non-free rpi firmware" >> /etc/apt/sources.list \ | ||
&& apt-key adv --batch --keyserver ha.pool.sks-keyservers.net --recv-key 0x9165938D90FDDD2E | ||
# No bullseye repository yet: | ||
# && echo "deb http://archive.raspberrypi.org/debian bullseye main ui" >> /etc/apt/sources.list.d/raspi.list \ | ||
# && apt-key adv --batch --keyserver ha.pool.sks-keyservers.net --recv-key 0x82B129927FA3303E | ||
|
||
RUN apt-get update \ | ||
&& apt-get --with-new-pkgs upgrade -y \ | ||
&& apt-get install -y --no-install-recommends \ | ||
less \ | ||
libraspberrypi-bin \ | ||
kmod \ | ||
nano \ | ||
net-tools \ | ||
ifupdown \ | ||
iputils-ping \ | ||
i2c-tools \ | ||
usbutils \ | ||
&& apt autoremove \ | ||
&& rm -rf /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.