2024-05-30 02:32:32 +00:00
|
|
|
FROM registry.fedoraproject.org/fedora:40
|
2024-05-02 03:10:33 +00:00
|
|
|
|
|
|
|
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
|
2024-06-13 04:57:53 +00:00
|
|
|
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
|
2024-06-13 04:59:29 +00:00
|
|
|
RUN dnf install -y boinc-client
|
2024-05-02 03:10:33 +00:00
|
|
|
|
|
|
|
CMD ["start-boinc.sh"]
|