X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=fdio.infra.pxe%2Fdocker-nginx%2FDockerfile;h=0e3054f21017592f44473ae51e3bf90d1c9a6447;hb=HEAD;hp=8cc9282bc018af1b4b5fd91122c73045742b9c1c;hpb=6c774fd1b52c7d218c9a1d974eb61bbaa3afef97;p=csit.git diff --git a/fdio.infra.pxe/docker-nginx/Dockerfile b/fdio.infra.pxe/docker-nginx/Dockerfile deleted file mode 100644 index 8cc9282bc0..0000000000 --- a/fdio.infra.pxe/docker-nginx/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -FROM ubuntu:20.04 as ubuntu_focal - -LABEL Description="ubuntu intermediate image" -LABEL Version="2.0" - -RUN apt update \ - && apt install -y wget - -ENV ISO_FOCAL_AMD64 https://releases.ubuntu.com/20.04.4/ubuntu-20.04.4-live-server-amd64.iso -ENV ISO_FOCAL_ARM64 https://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.4-live-server-arm64.iso -ENV ISO_BIONIC_AMD64 https://releases.ubuntu.com/18.04.5/ubuntu-18.04.5-live-server-amd64.iso - -RUN echo "Preparing ISO Pre-cache" \ - && wget $ISO_FOCAL_AMD64 -O /ubuntu-20.04.4-live-server-amd64.iso \ - && wget $ISO_FOCAL_ARM64 -O /ubuntu-20.04.4-live-server-arm64.iso \ - && wget $ISO_BIONIC_AMD64 -O /ubuntu-18.04.5-live-server-amd64.iso - - -FROM nginx:stable-alpine - -LABEL Description="nginx service image" -LABEL Version="2.0" - -ENV NGINX_FOCAL_AMD64 /usr/share/nginx/html/ubuntu_focal_amd64/ -ENV NGINX_FOCAL_ARM64 /usr/share/nginx/html/ubuntu_focal_arm64/ -ENV NGINX_BIONIC_AMD64 /usr/share/nginx/html/ubuntu_bionic_amd64/ - -RUN mkdir -p $NGINX_FOCAL_AMD64 \ - && mkdir -p $NGINX_FOCAL_ARM64 \ - && mkdir -p $NGINX_BIONIC_AMD64 - -COPY --from=ubuntu_focal /ubuntu-20.04.4-live-server-amd64.iso $NGINX_FOCAL_AMD64/ubuntu-20.04.4-live-server-amd64.iso -COPY --from=ubuntu_focal /ubuntu-20.04.4-live-server-arm64.iso $NGINX_FOCAL_ARM64/ubuntu-20.04.4-live-server-arm64.iso -COPY --from=ubuntu_focal /ubuntu-18.04.5-live-server-amd64.iso $NGINX_BIONIC_AMD64/ubuntu-18.04.5-live-server-amd64.iso - -COPY html/ /usr/share/nginx/html/ \ No newline at end of file