Initial commit

This commit is contained in:
Neil McPhail 2025-04-19 16:52:11 +01:00
commit 28445fac2b
3 changed files with 33 additions and 0 deletions

29
Dockerfile Normal file
View File

@ -0,0 +1,29 @@
# syntax=docker/dockerfile:1
FROM ubuntu:24.04 AS build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
make \
&& rm -rf /var/lib/apt/lists/*
ADD https://github.com/z00m128/sjasmplus.git#v1.21.0 /sjasmplus
RUN cd /sjasmplus && make && make install
ADD https://boarstone.mcphail.uk/mcphail/spectrum_remload.git /ttttt
RUN cd /ttttt && make ttttt
ADD https://github.com/einar-saukas/ZX0.git /zx0
RUN cd /zx0/src/ \
&& gcc -O2 -o zx0 zx0.c optimize.c compress.c memory.c \
&& gcc -O2 -o dzx0 dzx0.c
FROM ubuntu:24.04
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
fuse-emulator-utils\
make \
pasmo \
&& rm -rf /var/lib/apt/lists/*
COPY --from=build /usr/local/bin/sjasmplus /bin/sjasmplus
COPY --from=build /ttttt/ttttt /bin/ttttt
COPY --from=build /zx0/src/zx0 /bin/zx0
COPY --from=build /zx0/src/dzx0 /bin/dzx0

1
README.md Normal file
View File

@ -0,0 +1 @@
Development tools for the ZX Spectrum

3
hooks/post_checkout Executable file
View File

@ -0,0 +1,3 @@
#! /bin/bash
# From https://stackoverflow.com/questions/54055666/docker-hub-and-git-submodules/59640438#59640438
git submodule update --init