Skip to content

Commit 69da0f0

Browse files
committed
feat: Update Dockerfile
1 parent f25b73b commit 69da0f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ COPY --from=builder /app/target/codeql-extractor-action /usr/local/bin/codeql-ex
2121

2222
# Install GitHub CLI
2323
RUN apt-get update && \
24-
apt-get install -y curl git && \
24+
apt-get install -y curl git ca-certificates && \
2525
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && \
2626
chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && \
2727
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null && \
2828
apt-get update && \
2929
apt-get install -y --no-install-recommends gh && \
30+
apt-get remove -y curl && \
3031
apt-get clean && \
3132
rm -rf /var/lib/apt/lists/*
3233

0 commit comments

Comments
 (0)