client: Dockerfiles: resolve apt CLI warning

This commit is contained in:
2024-07-11 16:42:30 -07:00
parent c8a2af1290
commit f2df54d3cc
7 changed files with 20 additions and 20 deletions

View File

@@ -34,20 +34,20 @@ RUN gpasswd -a @DOCKER_FINANCE_USER@ wheel
RUN useradd -m -s /bin/bash -r builder && gpasswd -a builder wheel RUN useradd -m -s /bin/bash -r builder && gpasswd -a builder wheel
RUN gpasswd -a builder wheel RUN gpasswd -a builder wheel
RUN apt update -y RUN apt-get update -y
# #
# `dev-tools` Linters # `dev-tools` Linters
# #
# Bash # Bash
RUN apt install -y shfmt shellcheck RUN apt-get install -y shfmt shellcheck
# C++ # C++
RUN apt install -y clang-format cppcheck cpplint RUN apt-get install -y clang-format cppcheck cpplint
# PHP # PHP
RUN apt install -y composer RUN apt-get install -y composer
USER @DOCKER_FINANCE_USER@ USER @DOCKER_FINANCE_USER@
WORKDIR /home/@DOCKER_FINANCE_USER@ WORKDIR /home/@DOCKER_FINANCE_USER@
@@ -62,7 +62,7 @@ RUN echo "export PATH=\"\${PATH}:\${HOME}/.composer/vendor/bin\"" | tee -a ~/.ba
# #
USER root USER root
RUN apt install -y php php-bcmath php-curl php-gmp RUN apt-get install -y php php-bcmath php-curl php-gmp
USER builder USER builder
WORKDIR /usr/local/lib/php WORKDIR /usr/local/lib/php
@@ -80,13 +80,13 @@ RUN chown -R :wheel /usr/local/lib/php && chmod g+rwx /usr/local/lib/php
# #
# Doxygen # Doxygen
RUN apt install -y doxygen graphviz RUN apt-get install -y doxygen graphviz
# #
# Client-side `version` command # Client-side `version` command
# #
RUN apt install -y pipx RUN apt-get install -y pipx
USER @DOCKER_FINANCE_USER@ USER @DOCKER_FINANCE_USER@
WORKDIR /home/@DOCKER_FINANCE_USER@ WORKDIR /home/@DOCKER_FINANCE_USER@

View File

@@ -40,9 +40,9 @@ RUN chown root:wheel /usr/local/* && chmod g+rwx /usr/local/*
# Package dependencies # Package dependencies
# #
RUN apt update -y RUN apt-get update -y
RUN apt install -y \ RUN apt-get install -y \
gawk \ gawk \
git \ git \
hledger \ hledger \
@@ -53,7 +53,7 @@ RUN apt install -y \
visidata \ visidata \
zlib1g-dev zlib1g-dev
RUN apt install -y cargo RUN apt-get install -y cargo
RUN cargo install xsv --root /usr RUN cargo install xsv --root /usr
USER @DOCKER_FINANCE_USER@ USER @DOCKER_FINANCE_USER@
@@ -66,7 +66,7 @@ RUN pipx install csvkit
# #
USER root USER root
RUN apt install -y \ RUN apt-get install -y \
bc \ bc \
composer \ composer \
php \ php \

View File

@@ -20,7 +20,7 @@
# #
USER root USER root
RUN apt install -y curl RUN apt-get install -y curl
USER builder USER builder
WORKDIR /usr/local/src WORKDIR /usr/local/src

View File

@@ -21,7 +21,7 @@
USER root USER root
RUN apt install -y \ RUN apt-get install -y \
ghc \ ghc \
haskell-stack haskell-stack

View File

@@ -22,7 +22,7 @@
USER root USER root
# ROOT.cern dependencies (regardless of building or not) # ROOT.cern dependencies (regardless of building or not)
RUN apt install -y \ RUN apt-get install -y \
binutils \ binutils \
cmake \ cmake \
dpkg-dev \ dpkg-dev \
@@ -37,7 +37,7 @@ RUN apt install -y \
python3 python3
# ROOT.cern pre-compiled installation # ROOT.cern pre-compiled installation
RUN apt install -y curl RUN apt-get install -y curl
USER builder USER builder
WORKDIR /usr/local/src WORKDIR /usr/local/src
RUN curl --location -O "https://root.cern/download/root_v6.32.02.Linux-ubuntu24.04-x86_64-gcc13.2.tar.gz" RUN curl --location -O "https://root.cern/download/root_v6.32.02.Linux-ubuntu24.04-x86_64-gcc13.2.tar.gz"
@@ -61,7 +61,7 @@ RUN echo "export PATH=\"\$PATH::/usr/local/src/root/bin\"" | tee -a ~/.bash_alia
# docker-finance # docker-finance
USER root USER root
RUN apt install -y \ RUN apt-get install -y \
botan \ botan \
googletest \ googletest \
libbenchmark-dev \ libbenchmark-dev \

View File

@@ -21,9 +21,9 @@
USER root USER root
RUN apt update -y RUN apt-get update -y
RUN apt install -y \ RUN apt-get install -y \
curl \ curl \
yq yq

View File

@@ -25,9 +25,9 @@
USER root USER root
RUN apt update -y RUN apt-get update -y
RUN apt install -y \ RUN apt-get install -y \
calc \ calc \
emacs-nox \ emacs-nox \
mc \ mc \