Merge pull request #123 into master

b4fcc2a client: Dockerfiles: comment all optional userspace packages (Aaron Fiore)
284dd1d client: Dockerfiles: add commented `pipx` optional userspace (Aaron Fiore)
37a4a63 client: manifest: remove `pipx`, replace with packaged `csvkit` (Aaron Fiore)
3b01ce8 client: Dockerfiles: remove `pipx`, replace with packaged `csvkit` (Aaron Fiore)
This commit was merged in pull request #123.
This commit is contained in:
2024-08-19 16:03:19 -07:00
5 changed files with 33 additions and 36 deletions

View File

@@ -37,12 +37,12 @@ RUN chown root:wheel /usr/local/* && chmod g+rwx /usr/local/*
#
RUN pacman -Syu \
csvkit \
git \
hledger \
hledger-iadd \
hledger-ui \
hledger-web \
python-pipx \
timew \
vim \
visidata \
@@ -50,10 +50,6 @@ RUN pacman -Syu \
yq \
--noconfirm --disable-download-timeout
USER @DOCKER_FINANCE_USER@
WORKDIR /home/@DOCKER_FINANCE_USER@
RUN pipx install csvkit
#
# `fetch` APIs
#

View File

@@ -43,12 +43,12 @@ RUN chown root:wheel /usr/local/* && chmod g+rwx /usr/local/*
RUN apt-get update -y
RUN apt-get install -y \
csvkit \
gawk \
git \
hledger \
hledger-ui \
hledger-web \
pipx \
timewarrior \
vim \
visidata \
@@ -58,10 +58,6 @@ RUN apt-get install -y \
RUN apt-get install -y cargo
RUN cargo install xsv --root /usr
USER @DOCKER_FINANCE_USER@
WORKDIR /home/@DOCKER_FINANCE_USER@
RUN pipx install csvkit
#
# `fetch` APIs
#

View File

@@ -23,22 +23,29 @@
# Optional userspace
#
USER root
#USER root
RUN pacman -Syu \
calc \
emacs-nox \
less \
nano \
--noconfirm --disable-download-timeout
#RUN pacman -Syu \
# calc \
# less \
# --noconfirm --disable-download-timeout
#RUN pacman -Syu \
# emacs-nox \
# nano \
# --noconfirm --disable-download-timeout
#
# Optional userspace (python / ROOT.cern custom metadata analysis)
#
USER @DOCKER_FINANCE_USER@
WORKDIR /home/@DOCKER_FINANCE_USER@
#RUN pacman -Syu \
# python-pipx \
# --noconfirm --disable-download-timeout
RUN pipx install xlsx2csv
#USER @DOCKER_FINANCE_USER@
#WORKDIR /home/@DOCKER_FINANCE_USER@
#RUN pipx install xlsx2csv
# vim: sw=2 sts=2 si ai et

View File

@@ -23,23 +23,23 @@
# Optional userspace
#
USER root
RUN apt-get update -y
RUN apt-get install -y \
calc \
emacs-nox \
mc \
nano
#USER root
#RUN apt-get update -y
#RUN apt-get install -y \
# calc \
# emacs-nox \
# nano
#
# Optional userspace (python)
#
USER @DOCKER_FINANCE_USER@
WORKDIR /home/@DOCKER_FINANCE_USER@
#RUN apt-get install -y \
# pipx
RUN pipx install xlsx2csv
#USER @DOCKER_FINANCE_USER@
#WORKDIR /home/@DOCKER_FINANCE_USER@
#RUN pipx install xlsx2csv
# vim: sw=2 sts=2 si ai et

View File

@@ -37,13 +37,13 @@ container:
base:
packages:
- "bc"
- "csvkit"
- "git"
- "hledger"
- "hledger-iadd"
- "hledger-ui"
- "hledger-web"
- "proxychains-ng"
- "python-pipx"
- "stack"
- "timew"
- "vim"
@@ -53,7 +53,6 @@ container:
# For experimental build
#- "unuran"
commands:
- "csvstat --version"
- "ghc-pkg --version"
- "hledger-flow --version"
fetch:
@@ -84,13 +83,13 @@ container:
packages:
- "bc"
- "cargo"
- "csvkit"
- "g++"
- "git"
- "haskell-stack"
- "hledger"
- "hledger-ui"
- "hledger-web"
- "pipx"
- "proxychains4"
- "timewarrior"
- "vim"
@@ -100,7 +99,6 @@ container:
# For experimental build
#- "libunuran-dev"
commands:
- "csvstat --version"
- "ghc-pkg --version"
- "hledger-flow --version"
- "xsv --version"