From e8ca8ca5ca8d2efcee5e6892bc02e0113e234441 Mon Sep 17 00:00:00 2001 From: Michael Green <84688932+michael-j-green@users.noreply.github.com> Date: Sat, 26 Oct 2024 00:22:05 +1100 Subject: [PATCH] Fix for EJS version bump --- build/Dockerfile | 4 ++-- build/Dockerfile-EmbeddedDB | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 942113a..d9932a1 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -22,8 +22,8 @@ RUN apt-get update # download and unzip EmulatorJS from CDN RUN apt-get install -y p7zip-full RUN mkdir -p out/wwwroot/emulators/EmulatorJS -RUN cp -fr cdn.emulatorjs.org/latest/* out/wwwroot/emulators/EmulatorJS -RUN rm -Rf cdn.emulatorjs.org +RUN wget https://cdn.emulatorjs.org/releases/4.1.1.7z +RUN 7z x -y -oout/wwwroot/emulators/EmulatorJS 4.1.1.7z # clean up apt-get RUN apt-get clean && rm -rf /var/lib/apt/lists diff --git a/build/Dockerfile-EmbeddedDB b/build/Dockerfile-EmbeddedDB index 41b55db..8a9b688 100644 --- a/build/Dockerfile-EmbeddedDB +++ b/build/Dockerfile-EmbeddedDB @@ -25,11 +25,6 @@ RUN mkdir -p out/wwwroot/emulators/EmulatorJS RUN wget https://cdn.emulatorjs.org/releases/4.1.1.7z RUN 7z x -y -oout/wwwroot/emulators/EmulatorJS 4.1.1.7z -RUN wget --recursive --no-parent https://cdn.emulatorjs.org/latest/ -RUN mkdir -p out/wwwroot/emulators/EmulatorJS -RUN wget https://cdn.emulatorjs.org/releases/4.0.12.7z -RUN 7z x -y -oout/wwwroot/emulators/EmulatorJS 4.0.12.7z - # Build runtime image FROM mcr.microsoft.com/dotnet/aspnet:8.0 ENV INDOCKER=1