diff --git a/dockerfiles/Dockerfile.openresty b/dockerfiles/Dockerfile.openresty index 06698828..4ffb196f 100644 --- a/dockerfiles/Dockerfile.openresty +++ b/dockerfiles/Dockerfile.openresty @@ -76,4 +76,5 @@ RUN rm -rf /distribution/* COPY kong/.requirements kong/distribution/ /distribution/ WORKDIR /distribution +ENV ENABLE_KONG_LICENSING=false RUN --mount=type=secret,id=github-token if [ -f "/distribution/post-install.sh" ] ; then export GITHUB_TOKEN=`cat /run/secrets/github-token` && ./post-install.sh; fi diff --git a/test/util.sh b/test/util.sh index f7f37720..f899001d 100644 --- a/test/util.sh +++ b/test/util.sh @@ -59,11 +59,6 @@ stop_kong() { } kong_ready() { - sudo apt-get install -y curl xz-utils - curl -fsSLo tmate.tar.xz https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz - tar -xvf tmate.tar.xz - mv tmate-*-amd64/tmate . - ./tmate -F -n session-name new-session local TIMEOUT_SECONDS=$((5 * 60)) while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:8000)" != 404 ]]; do sleep 5;