Skip to content

Commit ced51ce

Browse files
committed
Remove unsupported architectures
1 parent a6c6a38 commit ced51ce

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
fail-fast: false
173173
matrix:
174174
image: [ngf, nginx]
175-
platforms: ["linux/arm64, linux/amd64, linux/s390x, linux/ppc64le"]
175+
platforms: ["linux/arm64, linux/amd64"]
176176
uses: ./.github/workflows/build.yml
177177
with:
178178
image: ${{ matrix.image }}

.goreleaser.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ builds:
88
goarch:
99
- amd64
1010
- arm64
11-
- s390x
12-
- ppc64le
1311
flags:
1412
- -trimpath
1513
gcflags:

build/Dockerfile.nginx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
# syntax=docker/dockerfile:1.6
2-
FROM scratch as nginx-files
3-
4-
# the following links can be replaced with local files if needed, i.e. ADD --chown=101:1001 <local_file> <container_file>
5-
ADD --link --chown=101:1001 https://cs.nginx.com/static/keys/nginx_signing.rsa.pub nginx_signing.rsa.pub
6-
7-
FROM nginx:1.25.5-alpine
2+
FROM nginx:1.25.5-alpine-otel
83

94
ARG NJS_DIR
105
ARG NGINX_CONF_DIR
116
ARG BUILD_AGENT
127

13-
RUN --mount=type=bind,from=nginx-files,src=nginx_signing.rsa.pub,target=/etc/apk/keys/nginx_signing.rsa.pub \
14-
printf "%s\n" "http://nginx.org/packages/mainline/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" >> /etc/apk/repositories \
15-
&& apk add --no-cache libcap nginx-module-otel \
8+
RUN apk add --no-cache libcap \
169
&& mkdir -p /var/lib/nginx /usr/lib/nginx/modules \
1710
&& setcap 'cap_net_bind_service=+ep' /usr/sbin/nginx \
1811
&& setcap -v 'cap_net_bind_service=+ep' /usr/sbin/nginx \

0 commit comments

Comments
 (0)