14 lines
587 B
Docker
14 lines
587 B
Docker
|
FROM debian:11-slim AS builder
|
||
|
RUN apt-get -y update && apt-get -y upgrade && apt-get -y install gcc libpcap-dev libvdeplug-dev libpcre3-dev libedit-dev libsdl2-dev libpng-dev libsdl2-ttf-dev build-essential && apt-get clean
|
||
|
ADD simh-3.9-0.tgz /
|
||
|
WORKDIR /simh-3.9-0
|
||
|
RUN make pdp11
|
||
|
|
||
|
FROM debian:11-slim
|
||
|
ENV DISK_FILENAME=rq0.dsk
|
||
|
RUN apt-get -y update && apt-get -y upgrade && apt-get -y install ed libpcap-dev iproute2 iptables gcc vdeplug libpcre3 net-tools telnet
|
||
|
COPY --from=builder /simh-3.9-0/BIN/pdp11 /usr/local/bin/pdp11
|
||
|
COPY boot.ini.template /
|
||
|
COPY startup.sh /
|
||
|
CMD /startup.sh
|