From 02f29325acfbb07081fbf8ee1476582e3ff5e7bc Mon Sep 17 00:00:00 2001 From: Austin Abro <37223396+AustinAbro321@users.noreply.github.com> Date: Wed, 7 Aug 2024 15:22:50 -0400 Subject: [PATCH] chore: update dos games (#2845) Signed-off-by: Austin Abro --- examples/dos-games/image/Dockerfile | 14 ++-------- examples/dos-games/image/index.html | 22 +++------------- examples/dos-games/manifests/deployment.yaml | 2 +- examples/dos-games/zarf.yaml | 2 +- src/pkg/packager/prepare_test.go | 4 +-- src/test/e2e/06_create_sbom_test.go | 12 ++++----- .../packages/12-lint/linted-import/zarf.yaml | 8 +++--- src/test/packages/12-lint/zarf.yaml | 26 +++++++++---------- .../manifests/evil-deployment.yaml | 2 +- .../25-manifest-adoption/deployment.yaml | 2 +- .../packages/26-image-dos-games/zarf.yaml | 6 ++--- 11 files changed, 37 insertions(+), 63 deletions(-) diff --git a/examples/dos-games/image/Dockerfile b/examples/dos-games/image/Dockerfile index f992f00743..80c94dc5e8 100644 --- a/examples/dos-games/image/Dockerfile +++ b/examples/dos-games/image/Dockerfile @@ -10,19 +10,9 @@ RUN wget https://js-dos.com/6.22/current/js-dos.js && \ wget https://js-dos.com/6.22/current/wdosbox.js && \ wget https://js-dos.com/6.22/current/wdosbox.wasm.js -RUN wget -O aladdin.zip "https://web.archive.org/web/20190303222445if_/https://www.dosgames.com/files/DOSBOX_ALADDIN.ZIP" RUN wget -O doom.zip "https://archive.org/download/DoomsharewareEpisode/doom.ZIP" -RUN wget -O mario-brothers.zip "https://image.dosgamesarchive.com/games/mario-bro.zip" -RUN wget -O prince-of-persia.zip "https://web.archive.org/web/20181030180256if_/http://image.dosgamesarchive.com/games/pop1.zip" -RUN wget -O quake.zip "https://web.archive.org/web/20190303223506if_/https://www.dosgames.com/files/DOSBOX_QUAKE.ZIP" -RUN wget -O warcraft-ii.zip "https://web.archive.org/web/20190303222732if_/https://www.dosgames.com/files/DOSBOX_WAR2.ZIP" -RUN wget -O aladdin.png "https://image.dosgamesarchive.com/screenshots/aladdem-4.png" && \ - wget -O doom.png "https://image.dosgamesarchive.com/screenshots/doom01.png" && \ - wget -O mario-brothers.png "https://image.dosgamesarchive.com/screenshots/marionl-6.png" && \ - wget -O prince-of-persia.png "https://image.dosgamesarchive.com/screenshots/prince102.png" && \ - wget -O quake.png "https://image.dosgamesarchive.com/screenshots/quake13.png" && \ - wget -O warcraft-ii.png "https://image.dosgamesarchive.com/screenshots/war2demo3.png" +RUN wget -O doom.png "https://image.dosgamesarchive.com/screenshots/doom01.png" COPY index.html . @@ -34,4 +24,4 @@ COPY --from=0 /binary /binary WORKDIR /site ENTRYPOINT ["/binary/darkhttpd", "/site", "--port", "8000"] -# docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag defenseunicorns/zarf-game:multi-tile . +# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/zarf-dev/doom-game:0.0.1 . diff --git a/examples/dos-games/image/index.html b/examples/dos-games/image/index.html index f8d89574ca..09cdd0ff47 100644 --- a/examples/dos-games/image/index.html +++ b/examples/dos-games/image/index.html @@ -47,9 +47,10 @@ } .column img { - margin-top: 8px; + margin-top: 16px; vertical-align: middle; width: 100%; + height: auto; } /* Responsive layout - makes a two column-layout instead of four columns */ @@ -70,7 +71,6 @@ } } - @@ -78,14 +78,7 @@