diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2026-01-12 20:22:17 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2026-01-12 20:24:37 -0500 |
| commit | b905e61ae0dae0dec58fa9657d4e1514566b143f (patch) | |
| tree | 0eb1c61c050399df44f77bba0c5881a4988bb53b /Containerfile | |
| parent | 939ac4319cb047a37ba46f84eff81948063f6954 (diff) | |
| download | unixv4-b905e61ae0dae0dec58fa9657d4e1514566b143f.tar.gz unixv4-b905e61ae0dae0dec58fa9657d4e1514566b143f.tar.xz | |
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Containerfile b/Containerfile index fa16c73..9303688 100644 --- a/Containerfile +++ b/Containerfile @@ -10,7 +10,8 @@ RUN apk add \ libpcap-dev \ libpng-dev \ sdl2-dev \ - pcre-dev + pcre-dev \ + pcre-static COPY simh.zip /opt/ @@ -18,7 +19,7 @@ RUN mkdir -p /opt/simh WORKDIR /opt/simh RUN bsdtar --strip-components=1 -xzvf /opt/simh.zip # RUN make pdp11 -RUN make CFLAGS_G='-march=i386' pdp11 -j$(nproc) +RUN make CFLAGS_G='-march=i386 -static -no-pie -s -O2' pdp11 -j$(nproc) RUN cp BIN/pdp11 /usr/bin/pdp11 RUN mkdir /opt/unixv4 @@ -33,12 +34,20 @@ RUN apk del \ libedit-dev \ libpcap-dev \ libpng-dev \ + libedit \ + libpcap \ + libpng \ + sdl2 \ + pcre \ sdl2-dev \ - pcre-dev + pcre-dev \ + apk-tools \ + alpine-keys \ + pcre-static + -RUN rm -rf /var/cache/apk /opt/simh /opt/simh.zip -RUN apk add pcre sdl2 +RUN rm -rf /var/cache/apk /opt/simh /opt/simh.zip COPY entrypoint.sh /bin/ |
