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 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@