client: create templated custom Dockerfiles

This commit is contained in:
2024-06-26 00:12:21 -07:00
parent 432a30c029
commit decef35be4
5 changed files with 122 additions and 21 deletions

View File

@@ -59,14 +59,6 @@ RUN pacman -Syu \
root \
--noconfirm --disable-download-timeout
# Optional userspace
RUN pacman -Syu \
calc \
emacs-nox \
less \
nano \
--noconfirm --disable-download-timeout
# PHP mandatory requirements
RUN sed -i \
-e 's:^;extension=bcmath:extension=bcmath:' \
@@ -108,9 +100,6 @@ WORKDIR /home/@DOCKER_FINANCE_USER@
RUN pipx install shyaml
RUN pipx install csvkit
# Optional userspace (python / ROOT.cern custom metadata analysis)
RUN pipx install xlsx2csv
# Superscript
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_CONF}/shell/superscript.bash\"" | tee -a ~/.bashrc

View File

@@ -66,13 +66,6 @@ RUN cargo install xsv --root /usr
#RUN apt install -y root
#RUN apt install -y botan libcrypto++-dev libsodium-dev googletest libbenchmark-dev
# Optional userspace
RUN apt install -y \
calc \
emacs-nox \
mc \
nano
# Give access to builder
RUN gpasswd -a builder wheel
RUN chown root:wheel /usr/local/* && chmod g+rwx /usr/local/*
@@ -101,9 +94,6 @@ WORKDIR /home/@DOCKER_FINANCE_USER@
RUN pipx install shyaml
RUN pipx install csvkit
# Optional userspace (python)
#RUN pipx install xlsx2csv
# Superscript
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_CONF}/shell/superscript.bash\"" | tee -a ~/.bash_aliases