forked from EvergreenCrypto/docker-finance
client: Dockerfiles: dev-tools: refactor to use yq
Replaces `shyaml` dependency with `yq`.
This commit is contained in:
@@ -86,15 +86,7 @@ RUN apt-get install -y doxygen graphviz
|
||||
# Client-side `version` command
|
||||
#
|
||||
|
||||
RUN apt-get install -y pipx
|
||||
|
||||
USER @DOCKER_FINANCE_USER@
|
||||
WORKDIR /home/@DOCKER_FINANCE_USER@
|
||||
|
||||
RUN pipx install shyaml
|
||||
RUN echo "export PATH=\"\$PATH:\${HOME}/.local/bin\"" | tee -a ~/.bash_aliases
|
||||
|
||||
USER root
|
||||
RUN apt-get install -y yq
|
||||
|
||||
#
|
||||
# Entrypoint
|
||||
|
||||
@@ -24,8 +24,7 @@ USER root
|
||||
RUN apt-get update -y
|
||||
|
||||
RUN apt-get install -y \
|
||||
curl \
|
||||
yq
|
||||
curl
|
||||
|
||||
USER @DOCKER_FINANCE_USER@
|
||||
WORKDIR /home/@DOCKER_FINANCE_USER@
|
||||
|
||||
Reference in New Issue
Block a user