add pdp-10:its image

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-10-05 18:45:41 -04:00
parent b137e5c5f5
commit 49335252fd
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

28
pdp-10/its/Dockerfile Normal file
View File

@ -0,0 +1,28 @@
FROM debian:buster-slim
RUN apt-get update && apt-get install -y \
ca-certificates \
simh \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN buildDeps=' \
expect \
gcc \
git \
libc6-dev \
make \
' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& git clone --depth 1 "https://github.com/PDP-10/its.git" /usr/src/its \
&& ( \
cd /usr/src/its \
&& make EMULATOR=simh \
) \
&& apt-get purge -y --auto-remove $buildDeps
WORKDIR /usr/src/its
ENTRYPOINT ["./start"]