Skip to content

Commit

Permalink
Feat (docker): add GH package
Browse files Browse the repository at this point in the history
  • Loading branch information
mateussouzaweb committed May 12, 2024
1 parent 27ec996 commit 6e53c69
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@ RUN apt update && apt install -y \
libgtk-4-dev libwebkitgtk-6.0-dev \
qt6-base-dev qt6-webengine-dev

# Install golang
# Install GitHub CLI
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 update \
&& apt install -y gh

# Install Goang
COPY --from=golang:latest /usr/local/go/ /usr/local/go/
ENV PATH="/usr/local/go/bin:${PATH}"

Expand Down

0 comments on commit 6e53c69

Please sign in to comment.