File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,14 @@ RUN curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-${TARGETARCH}.tar.gz" -o
1212 && tar -C /usr/local -xzf /tmp/go.tar.gz \
1313 && rm /tmp/go.tar.gz
1414
15+ RUN curl -fsSL "https://cli.github.com/packages/githubcli-archive-keyring.gpg" \
16+ | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
17+ && chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
18+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
19+ > /etc/apt/sources.list.d/github-cli.list \
20+ && apt-get update && apt-get install -y --no-install-recommends gh \
21+ && rm -rf /var/lib/apt/lists/*
22+
1523ENV PATH="/usr/local/go/bin:${PATH}"
1624ENV GOPATH="/root/go"
1725ENV PATH="${GOPATH}/bin:${PATH}"
You can’t perform that action at this time.
0 commit comments