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