Files

34 lines
880 B
Docker
Raw Permalink Normal View History

FROM fedora:41
2020-06-08 02:53:13 +02:00
2026-02-26 20:37:45 +01:00
ENV LANG=C.UTF-8
2026-02-27 00:01:14 +01:00
2026-03-23 22:36:39 +01:00
RUN dnf install -y passwd sudo git make cmake gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel lz4-devel zlib-ng-compat-devel bluez-libs-devel python3-devel openssl-devel gd-devel libatomic findutils
2022-10-29 01:01:06 +02:00
RUN yum -y update
2020-06-08 02:53:13 +02:00
2026-02-27 00:01:14 +01:00
ARG SKIPQT=false
RUN if [ "${SKIPQT}" = "false" ]; then \
dnf install -y qt6-qtbase-devel; \
fi
2023-01-15 21:53:39 +01:00
RUN yum -y install mesa-libOpenCL ocl-icd-devel
# uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
2020-06-08 02:53:13 +02:00
# 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
2020-06-08 02:53:13 +02:00
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
USER rrg
WORKDIR "/home/rrg"
CMD ["/bin/bash"]