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/>.
#
# 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
RUN apt-get update -y
RUN apt-get install -y \
curl
## Optional: networking
#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

View File

@@ -16,36 +16,44 @@
# 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 \
# calc \
# less \
# --noconfirm --disable-download-timeout
## Optional: text editors
#RUN pacman -Syu \
# emacs-nox \
# nano \
# --noconfirm --disable-download-timeout
#
# Optional userspace (python / ROOT.cern custom metadata analysis)
#
## Optional: python
#RUN pacman -Syu \
# python-pipx \
# --noconfirm --disable-download-timeout
## Optional: python: xlsx to csv conversion tool
#USER @DOCKER_FINANCE_USER@
#WORKDIR /home/@DOCKER_FINANCE_USER@
#RUN pipx install xlsx2csv
## Add yours below, as needed
# 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/>.
#
# 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
#RUN apt-get update -y
USER root
RUN apt-get update -y
## Optional: finance-related
#RUN apt-get install -y \
# calc \
## Optional: text editors
#RUN apt-get install -y \
# emacs-nox \
# nano
#
# Optional userspace (python)
#
## Optional: python
#RUN apt-get install -y \
# pipx
## Optional: python: xlsx to csv conversion tool
#USER @DOCKER_FINANCE_USER@
#WORKDIR /home/@DOCKER_FINANCE_USER@
#RUN pipx install xlsx2csv
## Add yours below, as needed
# vim: sw=2 sts=2 si ai et