client: docker-finance.d: Dockerfiles: cleanup, clarify

This commit is contained in:
2024-09-16 21:51:02 -07:00
parent dc4990ab90
commit e7d749ba22
3 changed files with 50 additions and 23 deletions

View File

@@ -16,17 +16,26 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
# #
# Custom (optional) Dockerfile - appends to existing Dockerfile # Custom (optional) Dockerfile
#
#
# NOTE:
#
# - Uncomment any block below, as needed
# - Or add your own custom Dockerfile commands here
# - This file appends to docker-finance's generated Dockerfile
# #
USER root USER root
RUN apt-get update -y RUN apt-get update -y
RUN apt-get install -y \ ## Optional: networking
curl #RUN apt-get install -y \
# curl
## Add yours below, as needed
USER @DOCKER_FINANCE_USER@
WORKDIR /home/@DOCKER_FINANCE_USER@
# vim: sw=2 sts=2 si ai et # vim: sw=2 sts=2 si ai et

View File

@@ -16,36 +16,44 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
# #
# Custom (optional) Dockerfile - appends to existing Dockerfile # Custom (optional) Dockerfile
# #
# #
# Optional userspace # NOTE:
#
# - Uncomment any block below, as needed
# - Or add your own custom Dockerfile commands here
# - This file appends to docker-finance's generated Dockerfile
# #
#USER root USER root
RUN pacman -Syu --noconfirm
## Optional: finance-related
#RUN pacman -Syu \ #RUN pacman -Syu \
# calc \ # calc \
# less \ # less \
# --noconfirm --disable-download-timeout # --noconfirm --disable-download-timeout
## Optional: text editors
#RUN pacman -Syu \ #RUN pacman -Syu \
# emacs-nox \ # emacs-nox \
# nano \ # nano \
# --noconfirm --disable-download-timeout # --noconfirm --disable-download-timeout
# ## Optional: python
# Optional userspace (python / ROOT.cern custom metadata analysis)
#
#RUN pacman -Syu \ #RUN pacman -Syu \
# python-pipx \ # python-pipx \
# --noconfirm --disable-download-timeout # --noconfirm --disable-download-timeout
## Optional: python: xlsx to csv conversion tool
#USER @DOCKER_FINANCE_USER@ #USER @DOCKER_FINANCE_USER@
#WORKDIR /home/@DOCKER_FINANCE_USER@ #WORKDIR /home/@DOCKER_FINANCE_USER@
#RUN pipx install xlsx2csv #RUN pipx install xlsx2csv
## Add yours below, as needed
# vim: sw=2 sts=2 si ai et # vim: sw=2 sts=2 si ai et

View File

@@ -16,30 +16,40 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
# #
# Custom (optional) Dockerfile - appends to existing Dockerfile # Custom (optional) Dockerfile
# #
# #
# Optional userspace # NOTE:
#
# - Uncomment any block below, as needed
# - Or add your own custom Dockerfile commands here
# - This file appends to docker-finance's generated Dockerfile
# #
#USER root USER root
#RUN apt-get update -y RUN apt-get update -y
## Optional: finance-related
#RUN apt-get install -y \ #RUN apt-get install -y \
# calc \ # calc \
## Optional: text editors
#RUN apt-get install -y \
# emacs-nox \ # emacs-nox \
# nano # nano
# ## Optional: python
# Optional userspace (python)
#
#RUN apt-get install -y \ #RUN apt-get install -y \
# pipx # pipx
## Optional: python: xlsx to csv conversion tool
#USER @DOCKER_FINANCE_USER@ #USER @DOCKER_FINANCE_USER@
#WORKDIR /home/@DOCKER_FINANCE_USER@ #WORKDIR /home/@DOCKER_FINANCE_USER@
#RUN pipx install xlsx2csv #RUN pipx install xlsx2csv
## Add yours below, as needed
# vim: sw=2 sts=2 si ai et # vim: sw=2 sts=2 si ai et