2019-07-26 20:55:49 +02:00
|
|
|
FROM debian:bullseye-slim
|
2018-10-06 00:45:41 +02:00
|
|
|
|
|
|
|
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 \
|
2018-10-06 01:33:09 +02:00
|
|
|
libncurses5-dev \
|
2018-10-06 00:45:41 +02:00
|
|
|
' \
|
|
|
|
&& 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"]
|