2020-06-08 08:53:13 +08:00
|
|
|
FROM opensuse/tumbleweed
|
|
|
|
|
2024-09-10 06:14:37 +08:00
|
|
|
ENV LANG=C
|
2020-06-08 08:53:13 +08:00
|
|
|
# libqt5-qtbase-devel skipped
|
2024-09-10 06:59:14 +08:00
|
|
|
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel liblz4-devel bluez-devel python3-devel libopenssl-devel cross-arm-none-gcc12 cross-arm-none-newlib-devel gd-devel
|
2020-06-08 08:53:13 +08:00
|
|
|
|
2023-01-16 07:34:02 +08:00
|
|
|
#RUN zypper addrepo https://download.opensuse.org/repositories/home:wkazubski/openSUSE_Tumbleweed/home:wkazubski.repo && \
|
|
|
|
# zypper --gpg-auto-import-keys refresh && \
|
|
|
|
# zypper --non-interactive install cross-arm-none-eabi-gcc12 cross-arm-none-eabi-newlib
|
|
|
|
|
2023-09-08 21:46:49 +08:00
|
|
|
RUN zypper --non-interactive install cmake python311 python311-pip python311-virtualenv
|
2023-01-16 07:34:02 +08:00
|
|
|
|
|
|
|
RUN zypper --non-interactive install ocl-icd-devel
|
2022-10-29 06:38:48 +08:00
|
|
|
|
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) NOPASSWD: ALL\n' | tee -a /etc/sudoers
|
|
|
|
|
|
|
|
USER rrg
|
|
|
|
WORKDIR "/home/rrg"
|
|
|
|
|
|
|
|
CMD ["/bin/bash"]
|