FROM registry.fedoraproject.org/fedora:40 LABEL maintainer="TechTransThai" \ description="Fedora image for BOINC client." # Global environment settings ENV BOINC_GUI_RPC_PASSWORD="123" \ BOINC_REMOTE_HOST="127.0.0.1" \ BOINC_CMD_LINE_OPTIONS="" # Copy files COPY bin/ /usr/bin/ # Configure WORKDIR /var/lib/boinc # BOINC RPC port EXPOSE 31416 # Install RUN dnf install -y dnf-plugins-core RUN dnf config-manager --add-repo https://boinc.berkeley.edu/dl/linux/alpha/fc40 RUN dnf config-manager --set-enabled boinc.berkeley.edu_dl_linux_alpha_fc40 RUN rpm --import https://boinc.berkeley.edu/dl/linux/alpha/fc40/boinc.gpg RUN dnf install -y boinc-client RUN dnf clean all RUN ln -s /usr/local/bin/boinc /usr/bin/ CMD ["start-boinc.sh"]