22 Commits

Author SHA1 Message Date
Will Hunt
45d82c7a31
Remove debug steps 2022-10-17 22:29:41 +01:00
Andrew Ferrazzutti
c0efb91c9a
Fix Docker builds hanging/OOMing (#535)
* Add network timeouts to Docker builds

* Split cargo build out

* Put cargo in the right place

* debug usage

* install time

* Fix docker build OOMing in CI for arm64 builds

Yoinked from synapse:
- https://github.com/matrix-org/synapse/pull/14173
- 424d1d28cc

* Update changelog

Co-authored-by: Half-Shot <will@half-shot.uk>
2022-10-17 13:09:15 -04:00
Will Hunt
10e4e88431
Remove --no-script from yarn (#448)
* Remove --no-script from yarn

As it turns out, we need to run the script to build the all important
crypto modules that we don't use. The --no-script is intended to avoid
us trying to build the project, but in practise I think this does more
harm than good (we don't seem to build when the production flag is used)

* changelog
2022-08-22 10:52:48 +01:00
Will Hunt
00927175a2
Update matrix-bot-sdk to 0.6.0 (#417)
* Update matrix-bot-sdk to 0.6.0

* changelog

* More package updates

* Don't need to copy bindings anymore

* Expliclty require Node 16

* Drop node 14 test

* fix rust bindings fetch

* Update .github/workflows/main.yml

Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>

* Update main.yml

Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>
2022-08-12 10:59:24 +01:00
Justin Carlson
b0eaa8b3b0
Reorder dockerfile to optimize rebuilds (#438)
* Reorder dockerfile to optimize rebuilds

* Add changelog
2022-08-11 18:11:55 +01:00
Will Hunt
ab59fe4e98
Dockerfile: Move --pure-lockfile to yarn (install) (#391)
* Move --pure-lockfile to yarn (install)

* Debug rust

* Update Dockerfile
2022-07-06 12:49:26 +01:00
Will Hunt
c02d4349a3
Get ARM64 builds working (#339)
* 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>
2022-05-10 15:55:30 +01:00
Will Hunt
eea075e7ab
Use node:16-slim for final image build (#336)
* Use node:16-slim for final image build

* changelog

* Add ignore scripts to final install step
2022-05-06 15:54:45 +01:00
Will Hunt
4463e1c112
Clean cache, and don't generate a lockfile (#319)
* Clean cache, and don't generate a lockfile

* changelog
2022-04-25 16:11:25 +01:00
Slavi Pantaleev
818bb03364
Do not explicitly pass --target to rustup (#184)
* Do not explicitly pass --target to rustup

It doesn't seem to be necessary to install Rust.
Passing `--target` prevents the Dockerfile from being built on different architectures.
Not passing it makes it auto-detect what to install.

Discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1505

* Add changelog entry
2022-01-31 18:27:10 +00:00
Will Hunt
40a75fa4d3 Rename project 2021-11-22 16:02:07 +00:00
Will Hunt
175a2c592e Package tweaks 2021-11-21 13:21:58 +00:00
Will Hunt
5bdd5c40ca Working around cargo/debian bugs 2021-11-21 12:52:05 +00:00
Will Hunt
39c6e81cbb Lots of changes 2021-11-21 12:34:56 +00:00
Will Hunt
51b70505c5 Small bug fixes 2021-09-17 13:19:25 +01:00
Will Hunt
07bd0e8be4 Urgh version 2021-04-16 13:11:54 +01:00
Will Hunt
aec1cb74e8 Tweak docker a bit 2021-04-11 18:39:26 +01:00
Will Hunt
7857a7f454 Update dockerfile with Node14 + widget support 2020-12-13 13:35:10 +00:00
Travis Ralston
80d8a14b03
Fix config.yml reference in dockerfile
This is a breaking change for those who use the docker image, but oh well.
2019-08-09 22:44:27 -06:00
Will Hunt
a53bb2fb7f Fix dockerfile 2019-08-07 21:29:04 +01:00
Half-Shot
6644d9f0a8 Update dockerfile 2019-08-07 19:09:35 +01:00
Travis Ralston
132984bc00 Add a simple Dockerfile 2019-08-03 18:45:06 -06:00