Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/docker: update and flatten debian-m68k-cross
Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220914155950.804707-11-alex.bennee@linaro.org>
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 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
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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# | ||
# Docker cross-compiler target | ||
# | ||
# This docker target builds on the debian Buster base image. | ||
# This docker target builds on the Debian Bullseye base image. | ||
# | ||
FROM qemu/debian10 | ||
FROM docker.io/library/debian:11-slim | ||
|
||
RUN apt update && \ | ||
DEBIAN_FRONTEND=noninteractive eatmydata \ | ||
apt install -y --no-install-recommends \ | ||
RUN export DEBIAN_FRONTEND=noninteractive && \ | ||
apt-get update && \ | ||
apt-get install -y eatmydata && \ | ||
eatmydata apt-get dist-upgrade -y && \ | ||
eatmydata apt-get install --no-install-recommends -y \ | ||
gcc-m68k-linux-gnu \ | ||
libc6-dev-m68k-cross |