diff --git a/.github/workflows/apisix-docker-example-test-standalone.yaml b/.github/workflows/apisix-docker-example-test-standalone.yaml index a9372ae7..44f23f99 100644 --- a/.github/workflows/apisix-docker-example-test-standalone.yaml +++ b/.github/workflows/apisix-docker-example-test-standalone.yaml @@ -14,7 +14,7 @@ on: - 'release/apisix-2.15.**' env: - APISIX_VERSION: "3.16.0" + APISIX_VERSION: "3.17.0" jobs: prepare: diff --git a/.github/workflows/apisix-docker-example-test.yaml b/.github/workflows/apisix-docker-example-test.yaml index 49f6d4bd..b5d5e356 100644 --- a/.github/workflows/apisix-docker-example-test.yaml +++ b/.github/workflows/apisix-docker-example-test.yaml @@ -14,7 +14,7 @@ on: - 'release/apisix-2.15.**' env: - APISIX_VERSION: "3.16.0" + APISIX_VERSION: "3.17.0" jobs: prepare: diff --git a/.github/workflows/apisix_push_docker_hub.yaml b/.github/workflows/apisix_push_docker_hub.yaml index 47b41348..8b087dff 100644 --- a/.github/workflows/apisix_push_docker_hub.yaml +++ b/.github/workflows/apisix_push_docker_hub.yaml @@ -19,7 +19,7 @@ jobs: - debian - redhat env: - APISIX_DOCKER_TAG: 3.16.0-${{ matrix.platform }} + APISIX_DOCKER_TAG: 3.17.0-${{ matrix.platform }} steps: - name: Check out the repo diff --git a/Makefile b/Makefile index 5c299fd6..188aeba5 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,8 @@ SHELL := bash # APISIX ARGS -APISIX_VERSION ?= 3.16.0 -MAX_APISIX_VERSION ?= 3.16.0 +APISIX_VERSION ?= 3.17.0 +MAX_APISIX_VERSION ?= 3.17.0 IMAGE_NAME = apache/apisix IMAGE_TAR_NAME = apache_apisix APISIX_REPO = https://github.com/apache/apisix diff --git a/all-in-one/apisix-dashboard/Dockerfile b/all-in-one/apisix-dashboard/Dockerfile index dbb05f0b..46414c72 100644 --- a/all-in-one/apisix-dashboard/Dockerfile +++ b/all-in-one/apisix-dashboard/Dockerfile @@ -17,11 +17,11 @@ ARG ENABLE_PROXY=false ARG ETCD_VERSION=v3.4.14 -ARG APISIX_VERSION=3.16.0 +ARG APISIX_VERSION=3.17.0 ARG APISIX_DASHBOARD_VERSION=master # Build Apache APISIX (using official package with apisix-nginx-module) -FROM debian:bullseye-slim AS production-stage +FROM debian:bookworm-slim AS production-stage ARG APISIX_VERSION LABEL apisix_version="${APISIX_VERSION}" @@ -30,7 +30,7 @@ RUN set -ex; \ arch=$(dpkg --print-architecture); \ apt update; \ apt-get -y install --no-install-recommends wget gnupg ca-certificates curl; \ - codename=`grep -Po 'VERSION="[0-9]+ \(\K[^)]+' /etc/os-release`; \ + codename="debian12"; \ case "${arch}" in \ amd64) \ wget -O - https://repos.apiseven.com/pubkey.gpg | apt-key add - \ @@ -101,7 +101,7 @@ RUN if [ "$ENABLE_PROXY" = "true" ] ; then yarn config set registry https://regi && yarn build # Finally combine all the resources into one image -FROM debian:bullseye-slim AS last-stage +FROM debian:bookworm-slim AS last-stage # add runtime for Apache APISIX RUN apt update \ @@ -110,6 +110,7 @@ RUN apt update \ curl \ ca-certificates \ libyaml-0-2 \ + libpcre3 \ lua5.1 \ && rm -rf /var/lib/apt/lists/* diff --git a/all-in-one/apisix/Dockerfile b/all-in-one/apisix/Dockerfile index 5de9d0d7..62e21568 100644 --- a/all-in-one/apisix/Dockerfile +++ b/all-in-one/apisix/Dockerfile @@ -32,7 +32,7 @@ USER root RUN wget https://github.com/etcd-io/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz \ && tar -zxvf etcd-${ETCD_VERSION}-linux-amd64.tar.gz \ && mv etcd-${ETCD_VERSION}-linux-amd64/* /usr/bin/ \ - && rm /usr/local/openresty/bin/etcdctl + && rm -f /usr/local/openresty/bin/etcdctl WORKDIR /usr/local/apisix diff --git a/debian-dev/Dockerfile.local b/debian-dev/Dockerfile.local index c9209463..041a62d2 100644 --- a/debian-dev/Dockerfile.local +++ b/debian-dev/Dockerfile.local @@ -33,6 +33,8 @@ RUN set -x \ && apt-get -y update --fix-missing \ && apt-get install -y \ make \ + cmake \ + g++ \ git \ sudo \ libyaml-dev \ diff --git a/debian/Dockerfile b/debian/Dockerfile index a90367ec..8bb2b1be 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -17,7 +17,7 @@ FROM debian:bookworm-slim -ARG APISIX_VERSION=3.16.0 +ARG APISIX_VERSION=3.17.0 RUN set -ex; \ arch=$(dpkg --print-architecture); \ @@ -37,7 +37,7 @@ RUN set -ex; \ apt update \ && apt install -y apisix=${APISIX_VERSION}-0 \ && apt-get purge -y --auto-remove \ - && rm /usr/local/openresty/bin/etcdctl \ + && rm -f /usr/local/openresty/bin/etcdctl \ && openresty -V \ && apisix version diff --git a/docs/en/latest/build.md b/docs/en/latest/build.md index cbff295a..24592f59 100644 --- a/docs/en/latest/build.md +++ b/docs/en/latest/build.md @@ -43,7 +43,7 @@ Find an APISIX [release version](https://github.com/apache/apisix/releases) to b Build a Docker image from the release: ```shell -APISIX_VERSION=3.16.0 # specify release version +APISIX_VERSION=3.17.0 # specify release version DISTRO=debian # debian, redhat make build-on-$DISTRO ``` diff --git a/example/docker-compose-arm64.yml b/example/docker-compose-arm64.yml index dca8c493..488c89de 100644 --- a/example/docker-compose-arm64.yml +++ b/example/docker-compose-arm64.yml @@ -19,7 +19,7 @@ version: "3" services: apisix: - image: apache/apisix:3.16.0-debian + image: apache/apisix:3.17.0-debian restart: always volumes: - ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro diff --git a/example/docker-compose-standalone.yml b/example/docker-compose-standalone.yml index 8853d5c1..3be1c303 100644 --- a/example/docker-compose-standalone.yml +++ b/example/docker-compose-standalone.yml @@ -19,7 +19,7 @@ version: "3" services: apisix: - image: apache/apisix:${APISIX_IMAGE_TAG:-3.16.0-debian} + image: apache/apisix:${APISIX_IMAGE_TAG:-3.17.0-debian} restart: always volumes: - ./apisix_conf/apisix-standalone.yaml:/usr/local/apisix/conf/apisix.yaml:ro diff --git a/example/docker-compose.yml b/example/docker-compose.yml index a1d0614e..5834dd76 100644 --- a/example/docker-compose.yml +++ b/example/docker-compose.yml @@ -19,7 +19,7 @@ version: "3" services: apisix: - image: apache/apisix:${APISIX_IMAGE_TAG:-3.16.0-debian} + image: apache/apisix:${APISIX_IMAGE_TAG:-3.17.0-debian} restart: always volumes: - ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro diff --git a/redhat/Dockerfile b/redhat/Dockerfile index 8469bd82..0af3bd82 100644 --- a/redhat/Dockerfile +++ b/redhat/Dockerfile @@ -17,7 +17,7 @@ FROM registry.access.redhat.com/ubi9/ubi:9.6 -ARG APISIX_VERSION=3.16.0 +ARG APISIX_VERSION=3.17.0 LABEL apisix_version="${APISIX_VERSION}" COPY ./yum.repos.d/apache-apisix.repo /etc/yum.repos.d/apache-apisix.repo COPY ./yum.repos.d/openresty.repo /etc/yum.repos.d/openresty.repo @@ -43,7 +43,7 @@ RUN groupadd --system --gid 636 apisix \ # forward request and error logs to docker log collector RUN ln -sf /dev/stdout /usr/local/apisix/logs/access.log \ && ln -sf /dev/stderr /usr/local/apisix/logs/error.log \ - && rm /usr/local/openresty/bin/etcdctl + && rm -f /usr/local/openresty/bin/etcdctl USER apisix diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index 6b85a632..af3854f5 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -17,7 +17,7 @@ FROM ubuntu:24.04 -ARG APISIX_VERSION=3.16.0 +ARG APISIX_VERSION=3.17.0 RUN set -ex; \ arch=$(dpkg --print-architecture); \ @@ -37,7 +37,7 @@ RUN set -ex; \ apt update \ && apt install -y apisix=${APISIX_VERSION}-0 \ && apt-get purge -y --auto-remove \ - && rm /usr/local/openresty/bin/etcdctl \ + && rm -f /usr/local/openresty/bin/etcdctl \ && openresty -V \ && apisix version