Initial commit
This commit is contained in:
commit
28445fac2b
29
Dockerfile
Normal file
29
Dockerfile
Normal 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
|
3
hooks/post_checkout
Executable file
3
hooks/post_checkout
Executable file
@ -0,0 +1,3 @@
|
||||
#! /bin/bash
|
||||
# From https://stackoverflow.com/questions/54055666/docker-hub-and-git-submodules/59640438#59640438
|
||||
git submodule update --init
|
Loading…
x
Reference in New Issue
Block a user