Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Install ca-certificates package #1433

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Environment variables shared between ci and DEV.

# NOTE: If you change this value remember to produce a new image by running the "CQ image" workflow.
# See https://github.com/guardian/service-catalogue/actions/workflows/cq-image.yml
# See https://github.com/cloudquery/cloudquery/releases?q=cli
CQ_CLI=6.15.0

Expand Down
4 changes: 3 additions & 1 deletion containers/cloudquery/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ARG CQ_CLI

FROM ghcr.io/cloudquery/cloudquery:${CQ_CLI}

Check warning on line 3 in containers/cloudquery/Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push / build-and-push

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudquery/cloudquery:${CQ_CLI} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

# Need to install RDS certs before running Cloudquery container due to
# access to the root filesystem being restricted
RUN wget -O /usr/local/share/ca-certificates/global-bundle.crt -q https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem && update-ca-certificates
RUN apk add --no-cache ca-certificates
RUN wget -O /usr/local/share/ca-certificates/global-bundle.crt -q https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem
RUN update-ca-certificates
Loading