24 lines
447 B
Docker
24 lines
447 B
Docker
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 boinc-client -y
|
|
RUN dnf clean all
|
|
|
|
CMD ["start-boinc.sh"]
|