tests/docker: Update the tricore container to debian 10
[qemu/ar7.git] / tests / docker / dockerfiles / debian-tricore-cross.docker
blob985925134c674c699bd0f01a5b3dceabbfa17aad
2 # Docker TriCore cross-compiler target
4 # This docker target builds on the debian Stretch base image.
6 # Copyright (c) 2018 Philippe Mathieu-Daudé
8 # SPDX-License-Identifier: GPL-2.0-or-later
10 FROM qemu/debian10
12 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
14 RUN git clone --single-branch \
15         https://github.com/bkoppelmann/tricore-binutils.git \
16         /usr/src/binutils && \
17     cd /usr/src/binutils && chmod +x missing && \
18     CFLAGS=-w ./configure --prefix=/usr --disable-nls --target=tricore && \
19     make && make install && \
20     rm -rf /usr/src/binutils
22 # This image isn't designed for building QEMU but building tests
23 ENV QEMU_CONFIGURE_OPTS --disable-system --disable-user