diff --git a/README.md b/README.md index 919d6fe..f27fe50 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# questshock +# Questshock + +![questshock](res/logo_small.png) An open source project to play the classic 1994 System Shock on a VR headset, built on top of [Shockolate](https://github.com/Interrupt/systemshock), diff --git a/build-image/Dockerfile b/build-image/Dockerfile index 0228ccd..14c1566 100644 --- a/build-image/Dockerfile +++ b/build-image/Dockerfile @@ -18,6 +18,11 @@ ARG FLUIDSYNTH_LITE_REF=c539a8d9270ba5a3f7d6e460606483fc2ab1eb61 # Soundfont used for MIDI music, matching what engine/build_deps.sh itself # fetches (a free substitute for the Windows default GM soundfont). ARG SOUNDFONT_URL=http://rancid.kapsi.fi/windows.sf2 +# Gitea/GitHub Actions' JS-based actions (actions/checkout, +# actions/upload-artifact, ...) need a node binary in the container job's +# PATH - this image is otherwise pure C toolchain, so it isn't pulled in +# by anything else. +ARG NODE_VERSION=20.18.1 ENV DEBIAN_FRONTEND=noninteractive @@ -83,6 +88,13 @@ RUN git clone https://github.com/EtherTyper/fluidsynth-lite.git \ RUN mkdir -p soundfont \ && curl -sSL -o soundfont/default.sf2 "${SOUNDFONT_URL}" +# Node.js: needed only so Gitea/GitHub Actions' JS-based actions can run +# when this image is used as a CI job's container - see NODE_VERSION above. +RUN curl -sSL -o /tmp/node.tar.xz \ + "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" \ + && tar -xJf /tmp/node.tar.xz -C /usr/local --strip-components=1 \ + && rm /tmp/node.tar.xz + COPY build-image/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh COPY build-image/build-engine.sh /usr/local/bin/build-engine.sh RUN chmod +x /usr/local/bin/docker-entrypoint.sh /usr/local/bin/build-engine.sh diff --git a/res/logo.png b/res/logo.png new file mode 100644 index 0000000..dc20bca Binary files /dev/null and b/res/logo.png differ diff --git a/res/logo_small.png b/res/logo_small.png new file mode 100644 index 0000000..d5c1a7d Binary files /dev/null and b/res/logo_small.png differ