client: create templated custom Dockerfiles
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user