1#
2# Cross compiler for cris system tests
3#
4
5FROM registry.fedoraproject.org/fedora:33
6ENV PACKAGES gcc-cris-linux-gnu
7ENV MAKE /usr/bin/make
8RUN dnf install -y $PACKAGES
9RUN rpm -q $PACKAGES | sort > /packages.txt
10# As a final step configure the user (if env is defined)
11ARG USER
12ARG UID
13RUN if [ "${USER}" ]; then \
14  id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
15