Skip to content

Commit e31c97f

Browse files
Remove gd package from OpenResty Alpine image to eliminate aom-libs (#8204)
1 parent 4cbbbe6 commit e31c97f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

o/openresty/Dockerfiles/1.27.1.2-alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ RUN apk add --no-cache --virtual .build-deps \
128128
zlib-dev \
129129
${RESTY_ADD_PACKAGE_BUILDDEPS} \
130130
&& apk add --no-cache \
131-
gd \
132131
geoip \
133132
libgcc \
134133
libxslt \
@@ -199,6 +198,7 @@ RUN apk add --no-cache --virtual .build-deps \
199198
&& find /usr/local/openresty/nginx -type f -perm -u+x -exec strip --strip-unneeded '{}' \; ; \
200199
fi \
201200
&& apk del .build-deps \
201+
&& apk upgrade --no-cache \
202202
&& mkdir -p /var/run/openresty \
203203
&& ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log \
204204
&& ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log

o/openresty/Dockerfiles/1.27.1.2-alpine/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ cd 1.27.1.2-alpine
1414
### 2. Build the Docker image
1515

1616
```bash
17-
docker build -t openresty-ppc64le:1.27.1.2-alpine .
17+
docker build -t openresty-ppc64le:1.27.1.2-11-alpine .
1818
```

0 commit comments

Comments
 (0)