11 Commits

Author SHA1 Message Date
Chris Richardson
de48a662f3 dosemu
All checks were successful
Docker / buildx (push) Successful in 24m49s
2025-08-12 23:11:00 -04:00
Chris Richardson
6a6219f659 dosemu
Some checks failed
Docker / buildx (push) Has been cancelled
2025-08-12 23:03:36 -04:00
Chris Richardson
6330e8fa48 dosemu
All checks were successful
Docker / buildx (push) Successful in 10m6s
2025-08-12 22:52:07 -04:00
Chris Richardson
234d52732c dosemu
All checks were successful
Docker / buildx (push) Successful in 12m1s
2025-08-12 14:27:00 -04:00
Chris Richardson
acfce1d0ba dosemu
All checks were successful
Docker / buildx (push) Successful in 12m6s
2025-08-12 13:45:32 -04:00
Chris Richardson
6c3de28396 dosemu
Some checks failed
Docker / buildx (push) Failing after 9m4s
2025-08-12 13:12:45 -04:00
Chris Richardson
048869d1b4 dosemu
Some checks failed
Docker / buildx (push) Failing after 8m21s
2025-08-12 12:55:44 -04:00
Chris Richardson
8b83769422 dosemu
Some checks failed
Docker / buildx (push) Failing after 8m31s
2025-08-12 12:04:18 -04:00
Chris Richardson
de7d97d333 dosemu
Some checks failed
Docker / buildx (push) Has been cancelled
2025-08-12 11:26:59 -04:00
Chris Richardson
682da1eb00 asd
All checks were successful
Docker / buildx (push) Successful in 10m48s
2025-08-12 00:28:42 -04:00
Chris Richardson
fd455cf46e asd 2025-08-12 00:27:46 -04:00
3 changed files with 52 additions and 8 deletions

29
.github/workflows/docker-x86.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Docker
on:
push:
branches: [ master, rebuild, dosemu ]
workflow_dispatch:
jobs:
buildx:
runs-on: x86
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v3
with:
tags: d.lilpenguins.com/enigma-bbs:dosemu-x86-latest
file: docker/Dockerfile
platforms: linux/amd64
push: true

View File

@@ -2,7 +2,7 @@ name: Docker
on: on:
push: push:
branches: [ master ] branches: [ master, rebuild, dosemu ]
workflow_dispatch: workflow_dispatch:
@@ -29,7 +29,7 @@ jobs:
- name: Build and push - name: Build and push
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
tags: d.lilpenguins.com/enigma-bbs:latest tags: d.lilpenguins.com/enigma-bbs:dosemu-latest
file: docker/Dockerfile file: docker/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 platforms: linux/arm64,linux/arm/v7,linux/arm/v8
push: true push: true

View File

@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:20-bookworm-slim FROM --platform=${BUILDPLATFORM:-linux/amd64} ubuntu:24.04
ARG TARGETPLATFORM ARG TARGETPLATFORM
ARG BUILDPLATFORM ARG BUILDPLATFORM
@@ -33,10 +33,25 @@ RUN apt-get update \
openssh-server \ openssh-server \
emacs-nox \ emacs-nox \
binkd \ binkd \
&& npm set progress=false && npm config set depth 0 \ software-properties-common \
ca-certificates \
curl \
gnupg \
python3-setuptools \
python3
RUN mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt update && apt install -y nodejs
RUN npm set progress=false && npm config set depth 0 \
&& npm install -g npm@latest \ && npm install -g npm@latest \
&& npm install -g pm2 \ && npm install -g pm2 \
&& cd /enigma-bbs && npm install && cd /enigma-bbs && npm install \
&& add-apt-repository -y ppa:dosemu2/ppa && apt update \
&& apt install -y dosemu2 install-freedos
# Do this after npm install to avoid cache-miss on every code change # Do this after npm install to avoid cache-miss on every code change
@@ -54,8 +69,8 @@ RUN dos2unix /enigma-bbs/docker/bin/docker-entrypoint.sh \
&& cp -rp art/* ../enigma-bbs-pre/art/ \ && cp -rp art/* ../enigma-bbs-pre/art/ \
&& cp -rp mods/* ../enigma-bbs-pre/mods/ \ && cp -rp mods/* ../enigma-bbs-pre/mods/ \
&& cp -rp config/* ../enigma-bbs-pre/config/ \ && cp -rp config/* ../enigma-bbs-pre/config/ \
&& apt-get remove build-essential python3 libssl-dev git curl -y \ # && apt-get remove build-essential python3 libssl-dev git curl -y \
&& apt-get autoremove -y \ # && apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& apt-get clean && apt-get clean