Add z88dk

This commit is contained in:
Neil McPhail 2025-04-27 12:24:10 +00:00
parent 4f948d6f9f
commit 8e42fe3308

View File

@ -1,5 +1,7 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM z88dk/z88dk:latest as z88dk
FROM ubuntu:24.04 AS build FROM ubuntu:24.04 AS build
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
@ -32,3 +34,7 @@ COPY --from=build /usr/local/bin/sjasmplus /bin/sjasmplus
COPY --from=build /ttttt/ttttt /bin/ttttt COPY --from=build /ttttt/ttttt /bin/ttttt
COPY --from=build /zx0/src/zx0 /bin/zx0 COPY --from=build /zx0/src/zx0 /bin/zx0
COPY --from=build /zx0/src/dzx0 /bin/dzx0 COPY --from=build /zx0/src/dzx0 /bin/dzx0
COPY --from=z88dk /opt/z88dk /opt/z88dk
USER ubuntu
RUN echo "PATH=$PATH:/opt/z88dk/bin" >> ~/.profile
RUN echo "ZCCCFG=/opt/z88dk/lib/config/" >> ~/.profile