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