-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add support for s390x via "apt-get source --compile" #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ LABEL maintainer="NGINX Docker Maintainers <[email protected]>" | |
ENV NGINX_VERSION 1.13.4-1~stretch | ||
ENV NJS_VERSION 1.13.4.0.1.12-1~stretch | ||
|
||
RUN apt-get update \ | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 \ | ||
&& \ | ||
NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; \ | ||
|
@@ -20,18 +21,73 @@ RUN apt-get update \ | |
apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \ | ||
done; \ | ||
test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \ | ||
apt-get remove --purge -y gnupg1 && apt-get -y --purge autoremove && rm -rf /var/lib/apt/lists/* \ | ||
&& echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
&& apt-get update \ | ||
apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* \ | ||
&& dpkgArch="$(dpkg --print-architecture)" \ | ||
&& nginxPackages=" \ | ||
nginx=${NGINX_VERSION} \ | ||
nginx-module-xslt=${NGINX_VERSION} \ | ||
nginx-module-geoip=${NGINX_VERSION} \ | ||
nginx-module-image-filter=${NGINX_VERSION} \ | ||
nginx-module-perl=${NGINX_VERSION} \ | ||
nginx-module-njs=${NJS_VERSION} \ | ||
" \ | ||
&& case "$dpkgArch" in \ | ||
amd64|i386) \ | ||
# arches officialy built by upstream | ||
echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
&& apt-get update \ | ||
;; \ | ||
*) \ | ||
# we're on an architecture upstream doesn't officially build for | ||
# let's build binaries from the published source packages | ||
echo "deb-src http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
\ | ||
# new directory for storing sources and .deb files | ||
&& tempDir="$(mktemp -d)" \ | ||
&& chmod 777 "$tempDir" \ | ||
# (777 to ensure APT's "_apt" user can access it too) | ||
\ | ||
# save list of currently-installed packages so build dependencies can be cleanly removed later | ||
&& savedAptMark="$(apt-mark showmanual)" \ | ||
\ | ||
# build .deb files from upstream's source packages (which are verified by apt-get) | ||
&& apt-get update \ | ||
&& apt-get build-dep -y $nginxPackages \ | ||
&& ( \ | ||
cd "$tempDir" \ | ||
&& DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" \ | ||
apt-get source --compile $nginxPackages \ | ||
) \ | ||
# we don't remove APT lists here because they get re-downloaded and removed later | ||
\ | ||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies | ||
# (which is done after we install the built packages so we don't have to redownload any overlapping dependencies) | ||
&& apt-mark showmanual | xargs apt-mark auto > /dev/null \ | ||
&& { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } \ | ||
\ | ||
# create a temporary local APT repo to install from (so that dependency resolution can be handled by APT, as it should be) | ||
&& ls -lAFh "$tempDir" \ | ||
&& ( cd "$tempDir" && dpkg-scanpackages . > Packages ) \ | ||
&& grep '^Package: ' "$tempDir/Packages" \ | ||
&& echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list \ | ||
# work around the following APT issue by using "Acquire::GzipIndexes=false" (overriding "/etc/apt/apt.conf.d/docker-gzip-indexes") | ||
# Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied) | ||
# ... | ||
# E: Failed to fetch store:/var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied) | ||
&& apt-get -o Acquire::GzipIndexes=false update \ | ||
;; \ | ||
esac \ | ||
\ | ||
&& apt-get install --no-install-recommends --no-install-suggests -y \ | ||
nginx=${NGINX_VERSION} \ | ||
nginx-module-xslt=${NGINX_VERSION} \ | ||
nginx-module-geoip=${NGINX_VERSION} \ | ||
nginx-module-image-filter=${NGINX_VERSION} \ | ||
nginx-module-perl=${NGINX_VERSION} \ | ||
nginx-module-njs=${NJS_VERSION} \ | ||
$nginxPackages \ | ||
gettext-base \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
\ | ||
# if we have leftovers from building, let's purge them (including extra, unnecessary build deps) | ||
&& if [ -n "$tempDir" ]; then \ | ||
apt-get purge -y --auto-remove \ | ||
&& rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; \ | ||
fi | ||
|
||
# forward request and error logs to docker log collector | ||
RUN ln -sf /dev/stdout /var/log/nginx/access.log \ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ LABEL maintainer="NGINX Docker Maintainers <[email protected]>" | |
ENV NGINX_VERSION 1.13.4-1~stretch | ||
ENV NJS_VERSION 1.13.4.0.1.12-1~stretch | ||
|
||
RUN apt-get update \ | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 \ | ||
&& \ | ||
NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; \ | ||
|
@@ -20,17 +21,72 @@ RUN apt-get update \ | |
apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \ | ||
done; \ | ||
test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \ | ||
apt-get remove --purge -y gnupg1 && apt-get -y --purge autoremove && rm -rf /var/lib/apt/lists/* \ | ||
&& echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
&& apt-get update \ | ||
apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* \ | ||
&& dpkgArch="$(dpkg --print-architecture)" \ | ||
&& nginxPackages=" \ | ||
nginx=${NGINX_VERSION} \ | ||
nginx-module-xslt=${NGINX_VERSION} \ | ||
nginx-module-geoip=${NGINX_VERSION} \ | ||
nginx-module-image-filter=${NGINX_VERSION} \ | ||
nginx-module-njs=${NJS_VERSION} \ | ||
" \ | ||
&& case "$dpkgArch" in \ | ||
amd64|i386) \ | ||
# arches officialy built by upstream | ||
echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
&& apt-get update \ | ||
;; \ | ||
*) \ | ||
# we're on an architecture upstream doesn't officially build for | ||
# let's build binaries from the published source packages | ||
echo "deb-src http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
\ | ||
# new directory for storing sources and .deb files | ||
&& tempDir="$(mktemp -d)" \ | ||
&& chmod 777 "$tempDir" \ | ||
# (777 to ensure APT's "_apt" user can access it too) | ||
\ | ||
# save list of currently-installed packages so build dependencies can be cleanly removed later | ||
&& savedAptMark="$(apt-mark showmanual)" \ | ||
\ | ||
# build .deb files from upstream's source packages (which are verified by apt-get) | ||
&& apt-get update \ | ||
&& apt-get build-dep -y $nginxPackages \ | ||
&& ( \ | ||
cd "$tempDir" \ | ||
&& DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" \ | ||
apt-get source --compile $nginxPackages \ | ||
) \ | ||
# we don't remove APT lists here because they get re-downloaded and removed later | ||
\ | ||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies | ||
# (which is done after we install the built packages so we don't have to redownload any overlapping dependencies) | ||
&& apt-mark showmanual | xargs apt-mark auto > /dev/null \ | ||
&& { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } \ | ||
\ | ||
# create a temporary local APT repo to install from (so that dependency resolution can be handled by APT, as it should be) | ||
&& ls -lAFh "$tempDir" \ | ||
&& ( cd "$tempDir" && dpkg-scanpackages . > Packages ) \ | ||
&& grep '^Package: ' "$tempDir/Packages" \ | ||
&& echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list \ | ||
# work around the following APT issue by using "Acquire::GzipIndexes=false" (overriding "/etc/apt/apt.conf.d/docker-gzip-indexes") | ||
# Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied) | ||
# ... | ||
# E: Failed to fetch store:/var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied) | ||
&& apt-get -o Acquire::GzipIndexes=false update \ | ||
;; \ | ||
esac \ | ||
\ | ||
&& apt-get install --no-install-recommends --no-install-suggests -y \ | ||
nginx=${NGINX_VERSION} \ | ||
nginx-module-xslt=${NGINX_VERSION} \ | ||
nginx-module-geoip=${NGINX_VERSION} \ | ||
nginx-module-image-filter=${NGINX_VERSION} \ | ||
nginx-module-njs=${NJS_VERSION} \ | ||
$nginxPackages \ | ||
gettext-base \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
\ | ||
# if we have leftovers from building, let's purge them (including extra, unnecessary build deps) | ||
&& if [ -n "$tempDir" ]; then \ | ||
apt-get purge -y --auto-remove \ | ||
&& rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; \ | ||
fi | ||
|
||
# forward request and error logs to docker log collector | ||
RUN ln -sf /dev/stdout /var/log/nginx/access.log \ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ LABEL maintainer="NGINX Docker Maintainers <[email protected]>" | |
ENV NGINX_VERSION 1.12.1-1~stretch | ||
ENV NJS_VERSION 1.12.1.0.1.10-1~stretch | ||
|
||
RUN apt-get update \ | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 \ | ||
&& \ | ||
NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; \ | ||
|
@@ -20,18 +21,73 @@ RUN apt-get update \ | |
apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \ | ||
done; \ | ||
test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \ | ||
apt-get remove --purge -y gnupg1 && apt-get -y --purge autoremove && rm -rf /var/lib/apt/lists/* \ | ||
&& echo "deb http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
&& apt-get update \ | ||
apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* \ | ||
&& dpkgArch="$(dpkg --print-architecture)" \ | ||
&& nginxPackages=" \ | ||
nginx=${NGINX_VERSION} \ | ||
nginx-module-xslt=${NGINX_VERSION} \ | ||
nginx-module-geoip=${NGINX_VERSION} \ | ||
nginx-module-image-filter=${NGINX_VERSION} \ | ||
nginx-module-perl=${NGINX_VERSION} \ | ||
nginx-module-njs=${NJS_VERSION} \ | ||
" \ | ||
&& case "$dpkgArch" in \ | ||
amd64|i386) \ | ||
# arches officialy built by upstream | ||
echo "deb http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
&& apt-get update \ | ||
;; \ | ||
*) \ | ||
# we're on an architecture upstream doesn't officially build for | ||
# let's build binaries from the published source packages | ||
echo "deb-src http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
\ | ||
# new directory for storing sources and .deb files | ||
&& tempDir="$(mktemp -d)" \ | ||
&& chmod 777 "$tempDir" \ | ||
# (777 to ensure APT's "_apt" user can access it too) | ||
\ | ||
# save list of currently-installed packages so build dependencies can be cleanly removed later | ||
&& savedAptMark="$(apt-mark showmanual)" \ | ||
\ | ||
# build .deb files from upstream's source packages (which are verified by apt-get) | ||
&& apt-get update \ | ||
&& apt-get build-dep -y $nginxPackages \ | ||
&& ( \ | ||
cd "$tempDir" \ | ||
&& DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" \ | ||
apt-get source --compile $nginxPackages \ | ||
) \ | ||
# we don't remove APT lists here because they get re-downloaded and removed later | ||
\ | ||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies | ||
# (which is done after we install the built packages so we don't have to redownload any overlapping dependencies) | ||
&& apt-mark showmanual | xargs apt-mark auto > /dev/null \ | ||
&& { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } \ | ||
\ | ||
# create a temporary local APT repo to install from (so that dependency resolution can be handled by APT, as it should be) | ||
&& ls -lAFh "$tempDir" \ | ||
&& ( cd "$tempDir" && dpkg-scanpackages . > Packages ) \ | ||
&& grep '^Package: ' "$tempDir/Packages" \ | ||
&& echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list \ | ||
# work around the following APT issue by using "Acquire::GzipIndexes=false" (overriding "/etc/apt/apt.conf.d/docker-gzip-indexes") | ||
# Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied) | ||
# ... | ||
# E: Failed to fetch store:/var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied) | ||
&& apt-get -o Acquire::GzipIndexes=false update \ | ||
;; \ | ||
esac \ | ||
\ | ||
&& apt-get install --no-install-recommends --no-install-suggests -y \ | ||
nginx=${NGINX_VERSION} \ | ||
nginx-module-xslt=${NGINX_VERSION} \ | ||
nginx-module-geoip=${NGINX_VERSION} \ | ||
nginx-module-image-filter=${NGINX_VERSION} \ | ||
nginx-module-perl=${NGINX_VERSION} \ | ||
nginx-module-njs=${NJS_VERSION} \ | ||
$nginxPackages \ | ||
gettext-base \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
\ | ||
# if we have leftovers from building, let's purge them (including extra, unnecessary build deps) | ||
&& if [ -n "$tempDir" ]; then \ | ||
apt-get purge -y --auto-remove \ | ||
&& rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; \ | ||
fi | ||
|
||
# forward request and error logs to docker log collector | ||
RUN ln -sf /dev/stdout /var/log/nginx/access.log \ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ LABEL maintainer="NGINX Docker Maintainers <[email protected]>" | |
ENV NGINX_VERSION 1.12.1-1~stretch | ||
ENV NJS_VERSION 1.12.1.0.1.10-1~stretch | ||
|
||
RUN apt-get update \ | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 \ | ||
&& \ | ||
NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; \ | ||
|
@@ -20,17 +21,72 @@ RUN apt-get update \ | |
apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \ | ||
done; \ | ||
test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \ | ||
apt-get remove --purge -y gnupg1 && apt-get -y --purge autoremove && rm -rf /var/lib/apt/lists/* \ | ||
&& echo "deb http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
&& apt-get update \ | ||
apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* \ | ||
&& dpkgArch="$(dpkg --print-architecture)" \ | ||
&& nginxPackages=" \ | ||
nginx=${NGINX_VERSION} \ | ||
nginx-module-xslt=${NGINX_VERSION} \ | ||
nginx-module-geoip=${NGINX_VERSION} \ | ||
nginx-module-image-filter=${NGINX_VERSION} \ | ||
nginx-module-njs=${NJS_VERSION} \ | ||
" \ | ||
&& case "$dpkgArch" in \ | ||
amd64|i386) \ | ||
# arches officialy built by upstream | ||
echo "deb http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
&& apt-get update \ | ||
;; \ | ||
*) \ | ||
# we're on an architecture upstream doesn't officially build for | ||
# let's build binaries from the published source packages | ||
echo "deb-src http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/sources.list \ | ||
\ | ||
# new directory for storing sources and .deb files | ||
&& tempDir="$(mktemp -d)" \ | ||
&& chmod 777 "$tempDir" \ | ||
# (777 to ensure APT's "_apt" user can access it too) | ||
\ | ||
# save list of currently-installed packages so build dependencies can be cleanly removed later | ||
&& savedAptMark="$(apt-mark showmanual)" \ | ||
\ | ||
# build .deb files from upstream's source packages (which are verified by apt-get) | ||
&& apt-get update \ | ||
&& apt-get build-dep -y $nginxPackages \ | ||
&& ( \ | ||
cd "$tempDir" \ | ||
&& DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" \ | ||
apt-get source --compile $nginxPackages \ | ||
) \ | ||
# we don't remove APT lists here because they get re-downloaded and removed later | ||
\ | ||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies | ||
# (which is done after we install the built packages so we don't have to redownload any overlapping dependencies) | ||
&& apt-mark showmanual | xargs apt-mark auto > /dev/null \ | ||
&& { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } \ | ||
\ | ||
# create a temporary local APT repo to install from (so that dependency resolution can be handled by APT, as it should be) | ||
&& ls -lAFh "$tempDir" \ | ||
&& ( cd "$tempDir" && dpkg-scanpackages . > Packages ) \ | ||
&& grep '^Package: ' "$tempDir/Packages" \ | ||
&& echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list \ | ||
# work around the following APT issue by using "Acquire::GzipIndexes=false" (overriding "/etc/apt/apt.conf.d/docker-gzip-indexes") | ||
# Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied) | ||
# ... | ||
# E: Failed to fetch store:/var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied) | ||
&& apt-get -o Acquire::GzipIndexes=false update \ | ||
;; \ | ||
esac \ | ||
\ | ||
&& apt-get install --no-install-recommends --no-install-suggests -y \ | ||
nginx=${NGINX_VERSION} \ | ||
nginx-module-xslt=${NGINX_VERSION} \ | ||
nginx-module-geoip=${NGINX_VERSION} \ | ||
nginx-module-image-filter=${NGINX_VERSION} \ | ||
nginx-module-njs=${NJS_VERSION} \ | ||
$nginxPackages \ | ||
gettext-base \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
\ | ||
# if we have leftovers from building, let's purge them (including extra, unnecessary build deps) | ||
&& if [ -n "$tempDir" ]; then \ | ||
apt-get purge -y --auto-remove \ | ||
&& rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; \ | ||
fi | ||
|
||
# forward request and error logs to docker log collector | ||
RUN ln -sf /dev/stdout /var/log/nginx/access.log \ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've currently hard-coded this minimal
Architectures
list, but as-is, these updates should technically support several other architectures includingarm64v8
,arm32v7
, andppc64le
. For other official images, we usually usebashbrew
to scrape the list ofArchitectures
directly from the parent image to embed in the children for cases like this, but I figured that's something we ought to discuss before I implemented it. 😇 ❤️I'd also be happy to simply adjust this list to include more arches if you'd rather, but then they'll need to be manually updated for any base image changes or new arches (which may be desirable).
I'm also happy to test on any other arches. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with providing images for all the other arches supported - we've seen requests for armv7 and ppc64le at least.
LGTM otherwise.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, neato! I'll have this updated shortly!