mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00

* Use node:16-slim for final image build * changelog * Add ignore scripts to final install step * Copy matrix-sdk-crypto-nodejs built files * Add workaround to build images foo crypto-nodejs * chmod +x * require bash for builds * Add apt install to hopefully make the rust bits build for arm * Fix missing multilib (#349) * Update and rename 336.misc to 339.bugfix Co-authored-by: Paul Tötterman <ptman@users.noreply.github.com>
20 lines
465 B
Bash
Executable File
20 lines
465 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# exit when any command fails
|
|
set -e
|
|
|
|
# Workaround for non-x64 / ia32 targets
|
|
pushd node_modules/@turt2live/matrix-sdk-crypto-nodejs
|
|
echo "Checking matrix-sdk-crypto-nodejs bindings (and building if required)"
|
|
node check-exists.js
|
|
popd
|
|
|
|
echo "Building Rust layer"
|
|
yarn run build:app:rs
|
|
echo "Running rust-typescript definitions fix"
|
|
yarn run build:app:fix-defs
|
|
echo "Building Typescript layer"
|
|
yarn run build:app
|
|
echo "Building web"
|
|
yarn run build:web
|