Skip to content

Commit

Permalink
chore: add vim and bash-completion in dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan committed May 11, 2024
1 parent c56880e commit 3ccee69
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,20 @@ ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONHASHSEED=0
ENV PYTHONUNBUFFERED=1

# renovate: depName=debian_12/bash-completion
ARG BASH_COMPLETION_VERSION="1:2.11-6"
# renovate: depName=debian_12/pipx
ARG PIPX_VERSION="1.1.0-1"
# renovate: depName=debian_12/sudo
ARG SUDO_VERSION="1.9.13p3-1+deb12u1"
# renovate: depName=debian_12/vim
ARG VIM_VERSION="2:9.0.1378-2"

RUN apt-get update && apt-get install -y --no-install-recommends \
# pipx: To install Python applications.
bash-completion="${BASH_COMPLETION_VERSION}" \
pipx="${PIPX_VERSION}" \
# sudo: To add sudo support to non-root user.
sudo="${SUDO_VERSION}" \
vim="${VIM_VERSION}" \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

# Config pipx
Expand Down
8 changes: 6 additions & 2 deletions template/.devcontainer/Dockerfile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,20 @@ ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONHASHSEED=0
ENV PYTHONUNBUFFERED=1

# renovate: depName=debian_12/bash-completion
ARG BASH_COMPLETION_VERSION="1:2.11-6"
# renovate: depName=debian_12/pipx
ARG PIPX_VERSION="1.1.0-1"
# renovate: depName=debian_12/sudo
ARG SUDO_VERSION="1.9.13p3-1+deb12u1"
# renovate: depName=debian_12/vim
ARG VIM_VERSION="2:9.0.1378-2"

RUN apt-get update && apt-get install -y --no-install-recommends \
# pipx: To install Python applications.
bash-completion="${BASH_COMPLETION_VERSION}" \
pipx="${PIPX_VERSION}" \
# sudo: To add sudo support to non-root user.
sudo="${SUDO_VERSION}" \
vim="${VIM_VERSION}" \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

# Config pipx
Expand Down

0 comments on commit 3ccee69

Please sign in to comment.