Skip to content

Commit

Permalink
Revert "Enable LHC native tasks"
Browse files Browse the repository at this point in the history
This reverts commit e8bef52.
  • Loading branch information
MentalFS committed Feb 12, 2024
1 parent e8bef52 commit b4758e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@ RUN set -eux; \
export DEBIAN_FRONTEND=noninteractive; \
apt update; \
apt -y install --no-install-recommends boinc-client \
intel-opencl-icd mesa-opencl-icd sudo \
boinctui bash-completion clinfo curl procps vim-tiny; \
intel-opencl-icd mesa-opencl-icd \
boinctui bash-completion clinfo procps vim-tiny; \
update-alternatives --install /usr/bin/vim vim /usr/bin/vim.tiny 0 || echo WARNING; \
apt clean; rm -rf /var/lib/apt/lists/* /var/log/*

# Replace symbolic links
FROM install AS build
COPY start /
RUN set -eux; \
chown boinc:boinc /etc/boinc-client/*; \
mkdir -p /var/lib/boinc-client/locale; \
mv /etc/boinc-client/cc_config.xml /var/lib/boinc-client/ -f; \
mv /etc/boinc-client/global_prefs_override.xml /var/lib/boinc-client/ -f
COPY sudoers.d/50-lhcathome_boinc_theory_native /etc/sudoers.d/
RUN set -eux; chmod a-w /etc/sudoers.d/50-lhcathome_boinc_theory_native; chmod o-r /etc/sudoers.d/50-lhcathome_boinc_theory_native
COPY start /
USER boinc
WORKDIR /var/lib/boinc-client
ENTRYPOINT ["/start"]
Expand Down
23 changes: 0 additions & 23 deletions sudoers.d/50-lhcathome_boinc_theory_native

This file was deleted.

0 comments on commit b4758e3

Please sign in to comment.