2023-01-16 04:53:39 +08:00
|
|
|
FROM fedora:37
|
2020-06-08 08:53:13 +08:00
|
|
|
|
2024-09-10 06:14:37 +08:00
|
|
|
ENV LANG=C
|
2020-06-08 08:53:13 +08:00
|
|
|
# qt5-qtbase-devel skipped
|
2024-09-10 06:59:14 +08:00
|
|
|
RUN dnf install -y passwd sudo git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel lz4-devel bluez-libs-devel python3-devel openssl-devel gd-devel libatomic findutils
|
2022-10-29 07:01:06 +08:00
|
|
|
|
|
|
|
RUN yum -y update
|
|
|
|
RUN yum -y install cmake python-pip
|
|
|
|
RUN python3 -m pip install ansicolors sslcrypto
|
2020-06-08 08:53:13 +08:00
|
|
|
|
2023-01-16 04:53:39 +08:00
|
|
|
RUN yum -y install mesa-libOpenCL ocl-icd-devel
|
|
|
|
|
2020-06-08 08:53:13 +08:00
|
|
|
# Create rrg user
|
|
|
|
RUN useradd -ms /bin/bash rrg
|
|
|
|
RUN passwd -d rrg
|
|
|
|
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
|
|
|
|
|
|
|
USER rrg
|
|
|
|
WORKDIR "/home/rrg"
|
|
|
|
|
|
|
|
CMD ["/bin/bash"]
|