4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
@@ -2,7 +2,7 @@ name: Docker
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master, rebuild ]
|
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:qemu-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/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
|
||||||
push: true
|
push: true
|
||||||
@@ -33,10 +33,14 @@ RUN apt-get update \
|
|||||||
openssh-server \
|
openssh-server \
|
||||||
emacs-nox \
|
emacs-nox \
|
||||||
binkd \
|
binkd \
|
||||||
|
npm \
|
||||||
|
software-properties-common \
|
||||||
&& npm set progress=false && npm config set depth 0 \
|
&& 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 ppa:dosemu2/ppa && apt update \
|
||||||
|
&& apt install -y && apt install dosemu2 install-otherdos
|
||||||
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user