1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-28 19:06:23 +00:00
Commit graph

82 commits

Author SHA1 Message Date
Thomas Citharel
91e7bd8b68
Revert rebasing Docker image build on debian
This reverts commits ad4a9d4dff, 34715d5f45, 06caab9d56, 36932f601d and 8c36173027

The segfault issues still happen on arm64 in any case

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 14:31:07 +02:00
Thomas Citharel
8c36173027
Use nobody:nogroup under Debian
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 12:08:56 +02:00
Thomas Citharel
06caab9d56
Rebase production Docker image on debian
The Alpine one can't be built against arm/arm64 anymore

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 10:22:53 +02:00
Thomas Citharel
3928c2fb2a
Update build ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 13:57:04 +02:00
Thomas Citharel
151a7e54ae
Fix lint issues, update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-20 17:06:42 +02:00
Thomas Citharel
a731a96b58
Remove HEX_MIRROR uses
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-18 15:01:32 +02:00
Thomas Citharel
5bb1247f37
Put env directly when building docker images
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-07 14:46:34 +02:00
Thomas Citharel
d01bbcad98
Use JSDeliver mirror when building Docker images as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-07 13:59:15 +02:00
Thomas Citharel
68c24e2425
Update tests Dockerfile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-06 19:56:11 +02:00
Thomas Citharel
9b7cd5831a
Add g++ to the Docker image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-31 16:08:53 +02:00
setop
e401050ca6 add requirements for export 2022-01-24 12:01:47 +00:00
Thomas Citharel
bd6f8206a7
Use Elixir 1.13 in Docker builds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-15 14:55:47 +01:00
Thomas Citharel
79b58012cb
Refresh CI image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-15 14:54:48 +01:00
Thomas Citharel
f437eb842c
Download tz_world data for Docker image directly
Closes #960

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-29 10:39:21 +01:00
Thomas Citharel
541d2f49c8
Add tzworld to the Docker image
Closes #947

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-26 09:45:55 +01:00
Thomas Citharel
89bbafb44c
Don't digest release files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:50 +01:00
Thomas Citharel
6d9fe639d6
Add option to yarn in CI to avoid network timeouts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 10:39:04 +01:00
Thomas Citharel
7e15b5fb7a
Set tzworld default dir in config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:32 +01:00
Thomas Citharel
e7662d3c77
Add necessary dependencies for exports into Docker image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:31 +01:00
Thomas Citharel
3e74982ec4
Don't install Cypress in production Docker image building
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-02 19:50:25 +01:00
Thomas Citharel
ef1e4124de
Allow release and Docker multiarch building
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-22 16:29:58 +02:00
Thomas Citharel
9621caf661
Bump required version to Elixir 1.12 and remove legacy tests
Drops support for OTP < 22

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 18:46:16 +02:00
Thomas Citharel
e606090f17
Fix legacy tests missing the python deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 18:28:42 +02:00
Thomas Citharel
0c667b13ae
Export participants to different formats
* CSV
* PDF (requires Python dependency `weasyprint`)
* ODS (requires Python dependency `pyexcel_ods3`)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-05 10:52:55 +02:00
Thomas Citharel
3ca4c178bc
Add ca-certificates to the Docker production image
Closes #762

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 11:04:13 +02:00
Thomas Citharel
c5005ccdae Revert "Merge branch 'setop-patch-dockerbuild' into 'master'"
This reverts merge request !978
2021-07-22 15:57:31 +02:00
setop
c408c04bb0 make build faster using buildlkit
- use annotation for buildkit
- cache yarn packages
- compile before copying assets to allow parallel build of phases

to use it, run
`DOCKER_BUILDKIT=1 docker image build -f docker/production/Dockerfile .`
2021-07-04 21:19:16 +00:00
Shlee
a401d90f98 Added imagemagick to dockerfile 2021-06-30 09:45:58 +00:00
Thomas Citharel
78ec74d253
Add libgcc libstdc++ libraries to the Docker image
See https://elixirforum.com/t/docker-run-error-loading-shared-library-libstdc-so-6-and-libgcc-s-so-1/40496

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 14:22:42 +02:00
Thomas Citharel
2c12138f00
Fix Docker build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-17 10:40:21 +02:00
Thomas Citharel
ef358bef6e
Fix docker build by doing the asset building in a subfolder
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 17:08:49 +02:00
Thomas Citharel
bda7401943
Add a legacy test config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-07 17:21:41 +02:00
Thomas Citharel
9b9b274079
Rename python to python3 in alpine Docker build dependency
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-19 14:39:19 +02:00
Thomas Citharel
e1cbfa98af
Upgrade dockerfiles to use node 16 and refresh CI image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-19 11:35:19 +02:00
Thomas Citharel
cd70fd692a
Bump CI to node14
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-30 09:25:13 +02:00
Thomas Citharel
18279f964b
Fix building Docker images on master
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-23 19:12:52 +02:00
Thomas Citharel
c023ba63fe
Add org.opencontainers.image.source annotation to the Docker image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-23 19:12:42 +02:00
Thomas Citharel
bdbc473715
Add support/ in Docker image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-22 17:28:03 +02:00
Thomas Citharel
730e2748d5
Fix Docker releases not starting anymore
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-30 14:36:29 +02:00
Thomas Citharel
23a94a1124
Fix docker build (again)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-15 14:57:08 +01:00
Thomas Citharel
4d47b73de2
Fix docker build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-15 12:52:38 +01:00
Thomas Citharel
239457a219
Releases fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-15 10:34:03 +01:00
Thomas Citharel
c6efc8dacc
Refresh CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-10 14:39:23 +01:00
Thomas Citharel
496debd6f3
Change everything for releases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-10 14:39:09 +01:00
Thomas Citharel
4d87541d96
Stick to stable version of the Docker base images
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-05 15:19:17 +01:00
Thomas Parisot
27bd5e8e6f fix: adjust to System.get_env signature (get_env(String.t(), String.t() | nil)) 2021-01-19 10:19:22 +01:00
Thomas Parisot
f2c2a64975 Configure Instance PORT via an environment variable. 2021-01-16 18:42:59 +01:00
Thomas Citharel
5d30ba9380
Fix Docker build
Add webp support to the Docker build and remove scripty

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-13 14:38:04 +01:00
Ivan Vandot
13fb242c82 set permissions for /app/uploads for volume mount 2020-11-16 23:28:29 +01:00
Thomas Citharel
030f548f16
Integrate extensions creation in entry point
Requires postgresql-client to be added to the image

Closes #503

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-14 20:47:08 +01:00