docker: add Fedora 41, Ubuntu 24.04 and remove old ones
This commit is contained in:
1 parent
42b5602692
commit
82a3aa90e0
27 files changed
+25
-270
No files matched your search
@@ -0,0 +1,27 @@
|
||||
FROM fedora:41
|
||||
|
||||
ENV LANG=C
|
||||
# qt5-qtbase-devel skipped
|
||||
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
|
||||
|
||||
RUN yum -y update
|
||||
RUN yum -y install cmake python-pip
|
||||
RUN python3 -m pip install ansicolors sslcrypto
|
||||
|
||||
RUN yum -y install mesa-libOpenCL ocl-icd-devel
|
||||
|
||||
# Create rrg user
|
||||
RUN useradd -ms /bin/bash rrg
|
||||
RUN passwd -d rrg
|
||||
ARG UART_GID
|
||||
# dialout group may already exist on another numeric ID than on host
|
||||
RUN if [ -n "${UART_GID}" ]; then \
|
||||
groupadd -g ${UART_GID} mydialout || true; \
|
||||
usermod -aG ${UART_GID} rrg; \
|
||||
fi
|
||||
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
||||
|
||||
USER rrg
|
||||
WORKDIR "/home/rrg"
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Reference in new issue
Block a user