Fix for EJS version bump
This commit is contained in:
@@ -22,8 +22,8 @@ RUN apt-get update
|
|||||||
# download and unzip EmulatorJS from CDN
|
# download and unzip EmulatorJS from CDN
|
||||||
RUN apt-get install -y p7zip-full
|
RUN apt-get install -y p7zip-full
|
||||||
RUN mkdir -p out/wwwroot/emulators/EmulatorJS
|
RUN mkdir -p out/wwwroot/emulators/EmulatorJS
|
||||||
RUN cp -fr cdn.emulatorjs.org/latest/* out/wwwroot/emulators/EmulatorJS
|
RUN wget https://cdn.emulatorjs.org/releases/4.1.1.7z
|
||||||
RUN rm -Rf cdn.emulatorjs.org
|
RUN 7z x -y -oout/wwwroot/emulators/EmulatorJS 4.1.1.7z
|
||||||
|
|
||||||
# clean up apt-get
|
# clean up apt-get
|
||||||
RUN apt-get clean && rm -rf /var/lib/apt/lists
|
RUN apt-get clean && rm -rf /var/lib/apt/lists
|
||||||
|
@@ -25,11 +25,6 @@ RUN mkdir -p out/wwwroot/emulators/EmulatorJS
|
|||||||
RUN wget https://cdn.emulatorjs.org/releases/4.1.1.7z
|
RUN wget https://cdn.emulatorjs.org/releases/4.1.1.7z
|
||||||
RUN 7z x -y -oout/wwwroot/emulators/EmulatorJS 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
|
# Build runtime image
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||||
ENV INDOCKER=1
|
ENV INDOCKER=1
|
||||||
|
Reference in New Issue
Block a user