From 118839a7b894c0191d3891a8b3027ef77166c0b7 Mon Sep 17 00:00:00 2001 From: OdedViner <61982127+OdedViner@users.noreply.github.com> Date: Wed, 17 Jan 2024 14:47:24 +0200 Subject: [PATCH] Add Dockerfile for nginx pod (#9050) * DockerFile nginx Signed-off-by: oviner --- Docker_files/nginx/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Docker_files/nginx/Dockerfile diff --git a/Docker_files/nginx/Dockerfile b/Docker_files/nginx/Dockerfile new file mode 100644 index 00000000000..c19d0aa52a0 --- /dev/null +++ b/Docker_files/nginx/Dockerfile @@ -0,0 +1,11 @@ +# Use a base image with QEMU for multi-architecture support. +FROM --platform=$BUILDPLATFORM nginx:alpine + +RUN apk update +RUN apk upgrade +RUN apk add fio bash +RUN apk add --no-cache util-linux + + +# Build and Push the multi-architecture Docker image using Docker Buildx: +# docker buildx build --platform linux/amd64,linux/ppc64le,linux/s390x,linux/arm64 -t quay.io/ocsci/nginx: . --push