Commit Graph

17 Commits

Author SHA1 Message Date
Quentin McGaw (desktop)
e9a517fde8 Add test stage 2021-08-02 21:25:42 -04:00
Quentin McGaw (desktop)
16225e441d Pin PHP version to 7.3-buster 2021-08-02 21:19:44 -04:00
Quentin McGaw (desktop)
b1d4717aaa Use PHP image to get vendor dependencies (faster) 2021-08-02 21:14:54 -04:00
Quentin McGaw (desktop)
d6215a055e Change Dockerfile for cross building
- Download and build vendor dependencies once on native platform
- Build final image N times for N platforms with Docker emulation
2021-08-02 18:26:17 -04:00
Quentin McGaw (desktop)
5be6724a69 Download and build vendor deps in separate stage
- Faster rebuilds due to better caching
- Lays the ground for faster cross building
2021-08-02 18:18:18 -04:00
Quentin McGaw (desktop)
1a04a75232 No need for /var/www/.composer dir 2021-08-02 12:34:51 -04:00
Quentin McGaw (desktop)
cb1efd552f Use supervisord for Nginx+php-fpm 2021-08-02 11:27:21 -04:00
Quentin McGaw (desktop)
d638b8f951 Verify Nginx config at build time 2021-08-02 10:40:10 -04:00
Quentin McGaw (desktop)
3751e46eed Configure nginx to log to stdout and stderr 2021-08-02 10:37:03 -04:00
Quentin McGaw (laptop)
92029c4aff Fix permission for entrypoint for build on Linux 2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
404345add1 Change .sqlite to database.sqlite 2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
f5f16f3ee7 Rework Dockerfile:
- Fix: install php7.3-gd extension
- Do not install composer 1 and only 2
- Install php7.3-mbstring extension
- Group apt installs together for better caching
2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
1e1244a52f Remove Nginx duplicate setup block 2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
22d7013406 Fix ownership for php-fpm logs 2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
dcc3c2310d Minor changes 2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
8f6c9e2433 Change entrypoint to actual entrypoint script 2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
07716fe8b0 Initial commit (WIP) 2021-08-01 15:10:55 -04:00