Add dnf clean command and the original fedora-packaged version
This commit is contained in:
parent
59cdeaa234
commit
da9faa0a97
2 changed files with 32 additions and 6 deletions
|
@ -18,10 +18,7 @@ WORKDIR /var/lib/boinc
|
||||||
EXPOSE 31416
|
EXPOSE 31416
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
RUN dnf install -y dnf-plugins-core
|
RUN dnf install boinc-client -y
|
||||||
RUN dnf config-manager --add-repo https://boinc.berkeley.edu/dl/linux/alpha/fc40
|
RUN dnf clean all
|
||||||
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
|
|
||||||
|
|
||||||
CMD ["start-boinc.sh"]
|
CMD ["start-boinc.sh"]
|
29
Dockerfile.vanilla
Normal file
29
Dockerfile.vanilla
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
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"]
|
Loading…
Reference in a new issue