tests/docker: use debian-all-test-cross for power
[qemu/kevin.git] / tests / docker / dockerfiles / debian-hppa-cross.docker
blobdd47ffdfa4f68345fb683861e8dd1cc283a8cc39
2 # Docker cross-compiler target
4 # This docker target builds on the Debian Bullseye base image.
6 FROM docker.io/library/debian:11-slim
8 RUN export DEBIAN_FRONTEND=noninteractive && \
9     apt-get update && \
10     apt-get install -y eatmydata && \
11     eatmydata apt-get dist-upgrade -y && \
12     eatmydata apt-get install --no-install-recommends -y \
13         gcc-hppa-linux-gnu \
14         libc6-dev-hppa-cross
15 # As a final step configure the user (if env is defined)
16 ARG USER
17 ARG UID
18 RUN if [ "${USER}" ]; then \
19   id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi