mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-02 16:46:59 +00:00
409c1c9cbd
We can't use our normal Debian based compilers as Alpha isn't an officially supported architecture. However it is available as a port and fortunately cross compilers for all these targets are included in Debian Sid, the perpetual rolling/unstable/testing version of Debian. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
33 lines
1.1 KiB
Docker
33 lines
1.1 KiB
Docker
#
|
|
# Debian Sid Base
|
|
#
|
|
# A number of our guests exist as ports only. We can either use the
|
|
# ports repo or get everything from Sid. However Sid is a rolling
|
|
# distro which may be broken at any particular time. If you are
|
|
# unlucky and try and build your images while gcc is in the process of
|
|
# being uploaded this can fail. Your only recourse is to try again in
|
|
# a few hours when the repos have re-synced. Once built however you
|
|
# won't be affected by repo changes unless the docker recipies are
|
|
# updated and trigger a re-build.
|
|
#
|
|
|
|
FROM debian:sid-slim
|
|
|
|
# Duplicate deb line as deb-src
|
|
RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
|
|
|
|
# Install common build utilities
|
|
RUN apt update
|
|
RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
|
|
RUN DEBIAN_FRONTEND=noninteractive eatmydata \
|
|
apt install -y --no-install-recommends \
|
|
bison \
|
|
build-essential \
|
|
ca-certificates \
|
|
flex \
|
|
git \
|
|
pkg-config \
|
|
psmisc \
|
|
python \
|
|
texinfo || { echo "Failed to build - see debian-sid.docker notes"; exit 1; }
|