Changed image to ubuntu/nginx

This commit is contained in:
2023-11-09 21:53:26 +01:00
parent 2749433176
commit a05620bb15

View File

@@ -14,10 +14,10 @@ environment:
steps: steps:
- name: Compile nginx - name: Compile nginx
image: nginx:1.25-bookworm image: ubuntu/nginx:1.24-23.10_beta
commands: commands:
- apt update - apt update
- apt install wget - apt install wget -y
- mkdir -p /opt/nginx-modules - mkdir -p /opt/nginx-modules
- wget "https://github.com/openresty/headers-more-nginx-module/archive/refs/tags/$${HEADERS_MORE_VERSION}.tar.gz" - wget "https://github.com/openresty/headers-more-nginx-module/archive/refs/tags/$${HEADERS_MORE_VERSION}.tar.gz"
- tar -xvzf $${HEADERS_MORE_VERSION}.tar.gz - tar -xvzf $${HEADERS_MORE_VERSION}.tar.gz