Am using Pongo for the first time, trying to do a basic “pongo run” test on some plugin code after installing it. However, I’m running into an error when pongo.sh is trying to build the test Docker image:
Step 15/18 : RUN apk update && apk add zip unzip make g++ py-pip jq git bsd-compat-headers m4 openssl-dev curl wget python3-dev shadow && curl -k -s -S -L https://github.com/fullstorydev/grpcurl/releases/download/v1.7.0/grpcurl_1.7.0_linux_x86_64.tar.gz | tar xz -C /kong/bin && pip install httpie ; cd /kong && git config --global url.https://github.com/.insteadOf git://github.com/ && make dependencies && luarocks install busted-htest && luarocks install luacov
---> Running in 68896cd57602
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
140548989598536:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919:
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.16/main: Permission denied
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: No such file or directory
What I believe is happening is that the “apk update” command is failing because it is hitting the corporate web proxy which has a self-signed SSL cert which it doesn’t recognize.
I know there are ways to add the correct cert information but that involves editing the ./assets/Dockerfile that comes with the Pongo distribution. Wondering if there are other options which don’t involve changing the base Pongo code?