Skip to content

Commit

Permalink
feat: Upgrading to debian 12.7 and adding gh cli
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotcourant committed Sep 22, 2024
1 parent dd909b3 commit a86f59f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- path: postgres
version: 14
- path: debian
version: 12.1
version: 12.7
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- path: postgres
version: 14
- path: debian
version: 12.1
version: 12.7
steps:
- uses: actions/checkout@v2
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:12.1
FROM debian:12.7
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
curl \
Expand All @@ -24,6 +24,13 @@ RUN apt-get update && apt-get install -y \
libssl-dev \
pkg-config

RUN mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& apt-get update \
&& apt-get install gh -y

# Helm CLI
RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list
Expand Down

0 comments on commit a86f59f

Please sign in to comment.