forked from CringeStudios/element-desktop
This commit is contained in:
parent
4aabc986ef
commit
07ea7afb9e
@ -7,24 +7,15 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: >
|
|
||||||
apt update && apt install -y curl wget gpg &&
|
|
||||||
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 && npm install -g yarn
|
|
||||||
|
|
||||||
- name: Download Cringe Studios configuration
|
- name: Download Cringe Studios configuration
|
||||||
run: "mkdir cringe && wget -O cringe/config.json https://chat.cringe-studios.com/config.json"
|
run: "mkdir cringe && wget -O cringe/config.json https://chat.cringe-studios.com/config.json"
|
||||||
|
|
||||||
- name: Docker setup
|
- name: Docker setup
|
||||||
run: "yarn run docker:setup"
|
run: "docker build --platform linux/amd64 -t element-desktop-dockerbuild -f dockerbuild/Dockerfile ."
|
||||||
|
|
||||||
- name: Docker build
|
- name: Docker build
|
||||||
run: >
|
run: >
|
||||||
scripts/in-docker.sh bash -c 'dpkg --add-architecture i386 && apt update && apt install -y rpm wine mono-devel &&
|
ls -la && scripts/in-docker.sh bash -c 'ls -la &&
|
||||||
ls -la &&
|
|
||||||
yarn add matrix-seshat &&
|
yarn add matrix-seshat &&
|
||||||
yarn &&
|
yarn &&
|
||||||
yarn run fetch --noverify --cfgdir cringe &&
|
yarn run fetch --noverify --cfgdir cringe &&
|
||||||
|
@ -14,6 +14,7 @@ RUN apt-get -qq update && apt-get -y -qq dist-upgrade && \
|
|||||||
# Used by seshat (when not SQLCIPHER_STATIC) \
|
# Used by seshat (when not SQLCIPHER_STATIC) \
|
||||||
libsqlcipher-dev && \
|
libsqlcipher-dev && \
|
||||||
apt-get purge -y --auto-remove && rm -rf /var/lib/apt/lists/*
|
apt-get purge -y --auto-remove && rm -rf /var/lib/apt/lists/*
|
||||||
|
RUN dpkg --add-architecture i386 && apt-get update && apt-get install -y wine mono-devel rpm
|
||||||
RUN ln -s /usr/bin/python3 /usr/bin/python & ln -s /usr/bin/pip3 /usr/bin/pip
|
RUN ln -s /usr/bin/python3 /usr/bin/python & ln -s /usr/bin/pip3 /usr/bin/pip
|
||||||
|
|
||||||
ENV DEBUG_COLORS=true
|
ENV DEBUG_COLORS=true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user