aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.pxe/docker-nginx/Dockerfile
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-05-13 19:19:40 +0000
committerPeter Mikus <pmikus@cisco.com>2021-05-17 08:28:02 +0000
commitd4f082106d3e8cfda1c0d52bcafb177b46562944 (patch)
tree6f86e14aab71be82bc438143cee1a0c2dfdfaf95 /fdio.infra.pxe/docker-nginx/Dockerfile
parent505d4afb63c83b6d2e39727dd0d47bc6c697954c (diff)
Infra: Additional changes
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ie08bd125c0d7b8e47344d34db77526f6714f5c0d
Diffstat (limited to 'fdio.infra.pxe/docker-nginx/Dockerfile')
-rw-r--r--fdio.infra.pxe/docker-nginx/Dockerfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/fdio.infra.pxe/docker-nginx/Dockerfile b/fdio.infra.pxe/docker-nginx/Dockerfile
index c171f116e8..0e3054f210 100644
--- a/fdio.infra.pxe/docker-nginx/Dockerfile
+++ b/fdio.infra.pxe/docker-nginx/Dockerfile
@@ -8,10 +8,12 @@ RUN apt update \
ENV ISO_FOCAL_AMD64 https://releases.ubuntu.com/20.04.2/ubuntu-20.04.2-live-server-amd64.iso
ENV ISO_FOCAL_ARM64 https://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.2-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.2-live-server-amd64.iso \
- && wget $ISO_FOCAL_ARM64 -O /ubuntu-20.04.2-live-server-arm64.iso
+ && wget $ISO_FOCAL_ARM64 -O /ubuntu-20.04.2-live-server-arm64.iso \
+ && wget $ISO_BIONIC_AMD64 -O /ubuntu-18.04.5-live-server-amd64.iso
FROM nginx:stable-alpine
@@ -21,11 +23,14 @@ 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_FOCAL_ARM64 \
+ && mkdir -p $NGINX_BIONIC_AMD64
COPY --from=ubuntu_focal /ubuntu-20.04.2-live-server-amd64.iso $NGINX_FOCAL_AMD64/ubuntu-20.04.2-live-server-amd64.iso
COPY --from=ubuntu_focal /ubuntu-20.04.2-live-server-arm64.iso $NGINX_FOCAL_ARM64/ubuntu-20.04.2-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