From a7081164bdc3ba180c3af46ed96fc4d2c55d4616 Mon Sep 17 00:00:00 2001 From: Rick Altherr Date: Tue, 27 Feb 2018 10:12:10 -0800 Subject: [PATCH] Force amd64 image for nginx Per https://github.com/docker-library/official-images/issues/3835, multi-arch official images are currently updated as each architecture's builder finishes. This leads to times when the latest tags only have a few architectures available. Since our builds only happen on amd64, pull nginx from the amd64 namespace specifically to avoid the problem. Signed-off-by: Rick Altherr --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 12dfd20e..ea9a70b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,5 +8,5 @@ RUN cd /source && make -j${NUM_PARALLEL_JOBS} --output-sync=target --warn-undefi RUN find /source/database -mindepth 1 -maxdepth 1 -type d -exec /source/htmlgen/htmlgen.py --settings={}/settings.sh --output=/output/html \; RUN mkdir -p /output/raw && find /source/database -mindepth 1 -maxdepth 1 -type d -exec cp -R {} /output/raw \; -FROM nginx:alpine +FROM amd64/nginx:alpine COPY --from=db_builder /output /usr/share/nginx/html