client: Dockerfiles: resolve apt CLI warning
This commit is contained in:
@@ -34,20 +34,20 @@ RUN gpasswd -a @DOCKER_FINANCE_USER@ wheel
|
||||
RUN useradd -m -s /bin/bash -r builder && gpasswd -a builder wheel
|
||||
RUN gpasswd -a builder wheel
|
||||
|
||||
RUN apt update -y
|
||||
RUN apt-get update -y
|
||||
|
||||
#
|
||||
# `dev-tools` Linters
|
||||
#
|
||||
|
||||
# Bash
|
||||
RUN apt install -y shfmt shellcheck
|
||||
RUN apt-get install -y shfmt shellcheck
|
||||
|
||||
# C++
|
||||
RUN apt install -y clang-format cppcheck cpplint
|
||||
RUN apt-get install -y clang-format cppcheck cpplint
|
||||
|
||||
# PHP
|
||||
RUN apt install -y composer
|
||||
RUN apt-get install -y composer
|
||||
|
||||
USER @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
|
||||
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
|
||||
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
|
||||
RUN apt install -y doxygen graphviz
|
||||
RUN apt-get install -y doxygen graphviz
|
||||
|
||||
#
|
||||
# Client-side `version` command
|
||||
#
|
||||
|
||||
RUN apt install -y pipx
|
||||
RUN apt-get install -y pipx
|
||||
|
||||
USER @DOCKER_FINANCE_USER@
|
||||
WORKDIR /home/@DOCKER_FINANCE_USER@
|
||||
|
||||
@@ -40,9 +40,9 @@ RUN chown root:wheel /usr/local/* && chmod g+rwx /usr/local/*
|
||||
# Package dependencies
|
||||
#
|
||||
|
||||
RUN apt update -y
|
||||
RUN apt-get update -y
|
||||
|
||||
RUN apt install -y \
|
||||
RUN apt-get install -y \
|
||||
gawk \
|
||||
git \
|
||||
hledger \
|
||||
@@ -53,7 +53,7 @@ RUN apt install -y \
|
||||
visidata \
|
||||
zlib1g-dev
|
||||
|
||||
RUN apt install -y cargo
|
||||
RUN apt-get install -y cargo
|
||||
RUN cargo install xsv --root /usr
|
||||
|
||||
USER @DOCKER_FINANCE_USER@
|
||||
@@ -66,7 +66,7 @@ RUN pipx install csvkit
|
||||
#
|
||||
|
||||
USER root
|
||||
RUN apt install -y \
|
||||
RUN apt-get install -y \
|
||||
bc \
|
||||
composer \
|
||||
php \
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#
|
||||
|
||||
USER root
|
||||
RUN apt install -y curl
|
||||
RUN apt-get install -y curl
|
||||
|
||||
USER builder
|
||||
WORKDIR /usr/local/src
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt install -y \
|
||||
RUN apt-get install -y \
|
||||
ghc \
|
||||
haskell-stack
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
USER root
|
||||
|
||||
# ROOT.cern dependencies (regardless of building or not)
|
||||
RUN apt install -y \
|
||||
RUN apt-get install -y \
|
||||
binutils \
|
||||
cmake \
|
||||
dpkg-dev \
|
||||
@@ -37,7 +37,7 @@ RUN apt install -y \
|
||||
python3
|
||||
|
||||
# ROOT.cern pre-compiled installation
|
||||
RUN apt install -y curl
|
||||
RUN apt-get install -y curl
|
||||
USER builder
|
||||
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"
|
||||
@@ -61,7 +61,7 @@ RUN echo "export PATH=\"\$PATH::/usr/local/src/root/bin\"" | tee -a ~/.bash_alia
|
||||
|
||||
# docker-finance
|
||||
USER root
|
||||
RUN apt install -y \
|
||||
RUN apt-get install -y \
|
||||
botan \
|
||||
googletest \
|
||||
libbenchmark-dev \
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt update -y
|
||||
RUN apt-get update -y
|
||||
|
||||
RUN apt install -y \
|
||||
RUN apt-get install -y \
|
||||
curl \
|
||||
yq
|
||||
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt update -y
|
||||
RUN apt-get update -y
|
||||
|
||||
RUN apt install -y \
|
||||
RUN apt-get install -y \
|
||||
calc \
|
||||
emacs-nox \
|
||||
mc \
|
||||
|
||||
Reference in New Issue
Block a user