Skip to content

Commit

Permalink
feat: add jq and vim to base images
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Feb 14, 2024
1 parent ab36419 commit a4866f1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 3 additions & 1 deletion spec/golang/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ LABEL Maintainer="Bento Project"
# curl for healthchecks and debugging
# git is for getting git information for development/local repositories
# gosu is for switching into a non-root UID/GID cleanly in the base image entrypoint
# jq is for debugging
# procps is installed to provide ps, which can monitor active processes & get PIDs for debugging
# vim is for debugging
RUN apt-get update -y; \
apt-get upgrade -y; \
apt-get install -y bash curl git gosu procps; \
apt-get install -y bash curl git gosu jq procps vim; \
rm -rf /var/lib/apt/lists/*

WORKDIR /
Expand Down
4 changes: 3 additions & 1 deletion spec/node/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ LABEL Maintainer="Bento Project"
# curl for healthchecks and debugging
# git is for getting git information for development/local repositories
# gosu is for switching into a non-root UID/GID cleanly in the base image entrypoint
# jq is for debugging
# procps is installed to provide ps, which can monitor active processes & get PIDs for debugging
# vim is for debugging
RUN apt-get update -y; \
apt-get upgrade -y; \
apt-get install -y bash curl git gosu procps; \
apt-get install -y bash curl git gosu jq procps vim; \
rm -rf /var/lib/apt/lists/*

WORKDIR /
Expand Down
4 changes: 3 additions & 1 deletion spec/plain/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ LABEL Maintainer="Bento Project"
# curl for healthchecks and debugging
# git is for getting git information for development/local repositories
# gosu is for switching into a non-root UID/GID cleanly in the base image entrypoint
# jq is for debugging
# procps is installed to provide ps, which can monitor active processes & get PIDs for debugging
# vim is for debugging
RUN apt-get update -y; \
apt-get upgrade -y; \
apt-get install -y bash curl git gosu procps; \
apt-get install -y bash curl git gosu jq procps vim; \
rm -rf /var/lib/apt/lists/*

WORKDIR /
Expand Down
6 changes: 5 additions & 1 deletion spec/python/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ SHELL ["/bin/bash", "-c"]
# git is used to get tag/commit information, especially in development environments
# curl is used for talking to/waiting for other services, healthchecks, & for diagnosing issues
# gosu is for switching into a non-root UID/GID cleanly in the base image entrypoint
# jq is for debugging
# procps is installed to provide ps, which can monitor active processes & get PIDs for debugging
# vim is for debugging
# TODO: Find reasoning / use for each of these packages

RUN apt-get update -y; \
Expand All @@ -25,9 +27,11 @@ RUN apt-get update -y; \
curl \
git \
gosu \
jq \
libpq-dev \
perl \
procps; \
procps \
vim; \
rm -rf /var/lib/apt/lists/*; \
pip install --no-cache-dir -U pip; \
pip install --no-cache-dir poetry==1.7.1
Expand Down

0 comments on commit a4866f1

Please sign in to comment.