diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 62868a2d42..32f40dd585 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -66,6 +66,12 @@ By [@garypen](https://github.com/garypen) in https://github.com/apollographql/ro ## 🐛 Fixes +### ca-certificates issue on the 1.4.0 version's docker image ([Issue #2145](https://github.com/apollographql/router/issues/2145)) + +A regression has been fixed which caused the router to panic when running on Uplink mode from the docker image + +By [@eole1712](https://github.com/eole1712) in https://github.com/apollographql/router/pull/2146 + ### Improve errors when subgraph returns non-GraphQL response with a non-2xx status code ([Issue #2117](https://github.com/apollographql/router/issues/2117)) The error response will now contain the status code and status name. Example: `HTTP fetch failed from 'my-service': 401 Unauthorized` diff --git a/dockerfiles/diy/dockerfiles/Dockerfile.repo b/dockerfiles/diy/dockerfiles/Dockerfile.repo index 3e0a5b9664..d71fe3c871 100644 --- a/dockerfiles/diy/dockerfiles/Dockerfile.repo +++ b/dockerfiles/diy/dockerfiles/Dockerfile.repo @@ -9,7 +9,8 @@ WORKDIR /usr/src/router RUN apt-get update RUN apt-get -y install \ npm \ - nodejs + nodejs \ + ca-certificates # Add rustfmt since build requires it RUN rustup component add rustfmt @@ -36,6 +37,7 @@ LABEL org.opencontainers.image.source="https://github.com/apollographql/router" # Copy in the required files from our build image COPY --from=build --chown=root:root /dist /dist +COPY --from=build --chown=root:root /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt WORKDIR /dist