infra: Force a given docker architecture.

See https://github.com/docker-library/official-images/issues/3835

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2018-02-22 14:17:58 -08:00
parent 563b54304a
commit 93ced10d4c
1 changed files with 1 additions and 1 deletions

View File

@ -8,5 +8,5 @@ RUN cd /source && make -j${NUM_PARALLEL_JOBS} database
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:latest
COPY --from=db_builder /output /usr/share/nginx/html