Skip to content

Commit fe6fc2e

Browse files
committed
fix(dev): correct proxy-dumper CA cert install
1 parent 5be14cd commit fe6fc2e

2 files changed

Lines changed: 2 additions & 22 deletions

File tree

docker/Dockerfile.proxy-dumper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ FROM ${APP_IMAGE}
2222
# For local builds, the regular Ubuntu application image needs to have the CA certificates installed, but it also uses
2323
# the `root` user, so we can install them without issue. Use the repository's available version because Ubuntu
2424
# repositories do not retain old exact package versions indefinitely.
25-
RUN test -d /usr/local/share/ca-certificates || apt-get update && \
25+
RUN test -d /usr/share/ca-certificates || (apt-get update && \
2626
apt-get install -y --no-install-recommends ca-certificates && \
27-
apt-get clean
27+
apt-get clean && rm -rf /var/lib/apt/lists)
2828
COPY --from=builder /src/app/target/proxy-dumper /proxy-dumper
2929

3030
EXPOSE 8081

docker/scripts/agent-data-plane/app/00-install-ca-certs.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)