Travis Ralston
|
726bf35b76
|
Fix Docker build for develop and publish a /version file
Fixes https://github.com/vector-im/riot-web/issues/10426
|
2019-12-02 16:58:50 -07:00 |
|
Slavi Pantaleev
|
4e63e3b0de
|
Base Docker image on nginx:alpine, not the larger nginx:latest
`nginx:latest` is based on Debian Stretch and is listed as being 45MB,
while `nginx:alpine` is based on Alpine 3.9 and is just 7MB.
Basing the riot-web Docker image on `nginx:alpine` should
make it 38MB smaller compared to the current situation.
The nginx version seems to be "latest mainline" on both (currently 1.15.12),
judging by each Dockerfile:
- https://github.com/nginxinc/docker-nginx/blob/e5123eea0d29c8d13df17d782f15679458ff899e/mainline/stretch/Dockerfile
- https://github.com/nginxinc/docker-nginx/blob/e5123eea0d29c8d13df17d782f15679458ff899e/mainline/alpine/Dockerfile
|
2019-05-27 11:57:37 +03:00 |
|
Travis Ralston
|
3123b429f7
|
Increase timeout for yarn install in Docker builds
Otherwise we run into problems where Docker Hub's limited machines timeout trying to download our dependencies
|
2019-05-15 16:24:25 -06:00 |
|
Travis Ralston
|
1bb70930fa
|
Support custom SDKs and use yarn
|
2019-04-10 15:47:02 -06:00 |
|
kaiyou
|
e47fae034a
|
Add some layers to cache installed dependencies at build time
|
2018-12-06 10:00:20 +01:00 |
|
kaiyou
|
045b0b9889
|
Add a two-stages Dockerfile for building Riot
|
2018-12-04 16:51:37 +01:00 |
|