Skip to content

Commit 554af8d

Browse files
committed
Add curl to container images
Curl is now explicitly added to container images so that startup scripts can detect the presence of various AWS metadata configuration available from AWS internal endpoints. Signed-off-by: Elijah Zupancic <[email protected]>
1 parent 4bc7476 commit 554af8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile.oss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN set -eux \
2929
echo "deb https://nginx.org/packages/mainline/debian/ $(echo $PKG_RELEASE | cut -f2 -d~) nginx" >> /etc/apt/sources.list.d/nginx.list; \
3030
apt-get update; \
3131
apt-get install --no-install-recommends --no-install-suggests --yes \
32-
nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE}; \
32+
curl nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE}; \
3333
apt-get remove --purge --auto-remove --yes; \
3434
rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list
3535

Dockerfile.plus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN set -eux \
2828
adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx; \
2929
apt-get -qq update; \
3030
apt-get -qq upgrade --yes; \
31-
apt-get -qq install --yes ca-certificates; \
31+
apt-get -qq install --yes ca-certificates curl; \
3232
sh -a /usr/local/bin/add_nginx_plus_repo.sh; \
3333
rm /usr/local/bin/add_nginx_plus_repo.sh; \
3434
apt-get -qq update; \

0 commit comments

Comments
 (0)