client: create templated custom Dockerfiles
This commit is contained in:
@@ -59,14 +59,6 @@ RUN pacman -Syu \
|
|||||||
root \
|
root \
|
||||||
--noconfirm --disable-download-timeout
|
--noconfirm --disable-download-timeout
|
||||||
|
|
||||||
# Optional userspace
|
|
||||||
RUN pacman -Syu \
|
|
||||||
calc \
|
|
||||||
emacs-nox \
|
|
||||||
less \
|
|
||||||
nano \
|
|
||||||
--noconfirm --disable-download-timeout
|
|
||||||
|
|
||||||
# PHP mandatory requirements
|
# PHP mandatory requirements
|
||||||
RUN sed -i \
|
RUN sed -i \
|
||||||
-e 's:^;extension=bcmath:extension=bcmath:' \
|
-e 's:^;extension=bcmath:extension=bcmath:' \
|
||||||
@@ -108,9 +100,6 @@ WORKDIR /home/@DOCKER_FINANCE_USER@
|
|||||||
RUN pipx install shyaml
|
RUN pipx install shyaml
|
||||||
RUN pipx install csvkit
|
RUN pipx install csvkit
|
||||||
|
|
||||||
# Optional userspace (python / ROOT.cern custom metadata analysis)
|
|
||||||
RUN pipx install xlsx2csv
|
|
||||||
|
|
||||||
# Superscript
|
# Superscript
|
||||||
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_CONF}/shell/superscript.bash\"" | tee -a ~/.bashrc
|
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 root
|
||||||
#RUN apt install -y botan libcrypto++-dev libsodium-dev googletest libbenchmark-dev
|
#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
|
# Give access to builder
|
||||||
RUN gpasswd -a builder wheel
|
RUN gpasswd -a builder wheel
|
||||||
RUN chown root:wheel /usr/local/* && chmod g+rwx /usr/local/*
|
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 shyaml
|
||||||
RUN pipx install csvkit
|
RUN pipx install csvkit
|
||||||
|
|
||||||
# Optional userspace (python)
|
|
||||||
#RUN pipx install xlsx2csv
|
|
||||||
|
|
||||||
# Superscript
|
# Superscript
|
||||||
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_CONF}/shell/superscript.bash\"" | tee -a ~/.bash_aliases
|
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_CONF}/shell/superscript.bash\"" | tee -a ~/.bash_aliases
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
# docker-finance | modern accounting for the power-user
|
||||||
|
#
|
||||||
|
# Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
#
|
||||||
|
# Custom (optional) Dockerfile - appends to existing Dockerfile
|
||||||
|
#
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
RUN apt update -y
|
||||||
|
|
||||||
|
RUN apt install -y \
|
||||||
|
curl \
|
||||||
|
yq
|
||||||
|
|
||||||
|
USER @DOCKER_FINANCE_USER@
|
||||||
|
WORKDIR /home/@DOCKER_FINANCE_USER@
|
||||||
|
|
||||||
|
# vim: sw=2 sts=2 si ai et
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
# docker-finance | modern accounting for the power-user
|
||||||
|
#
|
||||||
|
# Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
#
|
||||||
|
# Custom (optional) Dockerfile - appends to existing Dockerfile
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Optional userspace
|
||||||
|
#
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
RUN pacman -Syu \
|
||||||
|
calc \
|
||||||
|
emacs-nox \
|
||||||
|
less \
|
||||||
|
nano \
|
||||||
|
--noconfirm --disable-download-timeout
|
||||||
|
|
||||||
|
#
|
||||||
|
# Optional userspace (python / ROOT.cern custom metadata analysis)
|
||||||
|
#
|
||||||
|
|
||||||
|
USER @DOCKER_FINANCE_USER@
|
||||||
|
WORKDIR /home/@DOCKER_FINANCE_USER@
|
||||||
|
|
||||||
|
RUN pipx install xlsx2csv
|
||||||
|
|
||||||
|
# vim: sw=2 sts=2 si ai et
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
# docker-finance | modern accounting for the power-user
|
||||||
|
#
|
||||||
|
# Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
#
|
||||||
|
# Custom (optional) Dockerfile - appends to existing Dockerfile
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Optional userspace
|
||||||
|
#
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
RUN apt update -y
|
||||||
|
|
||||||
|
RUN apt install -y \
|
||||||
|
calc \
|
||||||
|
emacs-nox \
|
||||||
|
mc \
|
||||||
|
nano
|
||||||
|
|
||||||
|
#
|
||||||
|
# Optional userspace (python)
|
||||||
|
#
|
||||||
|
|
||||||
|
USER @DOCKER_FINANCE_USER@
|
||||||
|
WORKDIR /home/@DOCKER_FINANCE_USER@
|
||||||
|
|
||||||
|
RUN pipx install xlsx2csv
|
||||||
|
|
||||||
|
# vim: sw=2 sts=2 si ai et
|
||||||
Reference in New Issue
Block a user