forked from EvergreenCrypto/docker-finance
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@
|
||||
|
||||
Reference in New Issue
Block a user