kolaente
a0e812395f
feat(docker)!: use scratch as base image
...
This change modifies the docker image so that it uses the scratch image instead of alpine. This is possible because the Vikunja binary is now entirely statically compiled, wich no dependencies on any system c libraries.
This also changes the default path for the sqlite file in the docker image (breaking). When using sqlite in docker, the VIKUNJA_DATABASE_PATH config variable or the file mount must be changed to prevent data loss.
2024-02-25 22:49:04 +01:00
kolaente
b1745edfa6
chore: remove unused build args
2024-02-09 19:44:52 +01:00
kolaente
f77ba0d4f1
feat: only one dockerfile with api and frontend
2024-02-09 13:42:05 +01:00
renovate
66cc0283e8
chore(deps): update alpine docker tag to v3.19
2023-12-20 10:37:29 +00:00
kolaente
21d0676399
chore(deps): update xgo to go 1.21
2023-10-11 23:05:51 +02:00
kolaente
191c154150
chore(build): use our own goproxy to prevent issues with packages not found
2023-09-12 13:34:35 +02:00
renovate
9e5cfb6fd6
chore(deps): update alpine docker tag to v3.18
2023-05-10 00:01:24 +00:00
kolaente
01fb738dc8
fix(build): make sure the docker image can access go tools
2023-04-02 18:55:30 +02:00
kolaente
33f0d0f85a
fix: update xgo in dockerfile to 1.20.2
...
Resolves https://kolaente.dev/vikunja/api/issues/1445
2023-03-24 19:24:25 +01:00
kolaente
eb33655c1c
fix(docker): make sure the vikunja user always exists and only modify the uid instead of recreating the user
...
Resolves #1392
2023-02-15 10:39:48 +01:00
kolaente
5d242f7e54
chore(deps): update xgo to 1.20
2023-02-02 17:44:57 +01:00
kolaente
32ff4b2cbd
fix(docker): re-add expose
2023-02-01 18:39:57 +01:00
kolaente
6ddadba573
fix(docker): cross compilation with buildx
2023-02-01 15:06:55 +01:00
Yurii Vlasov
522bf7d2fc
feat: refactored Dockerfile ( #1375 )
...
- Removed VIKUNJA_VERSION and custom git checkout, because it is not found in the repository. So it is not used anywhere.
- Optimized runner commands order
- Removed run.sh (it is not needed in fact)
Co-authored-by: Yurii Vlasov <yv@itsvit.org>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1375
Co-authored-by: Yurii Vlasov <yuriy@vlasov.pro>
Co-committed-by: Yurii Vlasov <yuriy@vlasov.pro>
2023-01-31 16:16:21 +00:00
kolaente
941d1e06c5
fix(build): downgrade xgo to 1.19.2 so that builds work again
...
See https://github.com/techknowlogick/xgo/issues/187
2022-12-01 19:00:48 +01:00
kolaente
a6e214b654
feat: use docker buildx to build multiarch images
2022-11-12 14:30:48 +01:00
renovate
c5bd09702a
chore(deps): update dependency golang to v1.19 ( #1228 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1228
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-10-01 15:05:12 +00:00
kolaente
b71e6f8049
fix(docker): use official go image instead of our own to build
2022-08-03 17:54:21 +02:00
kolaente
7ffe9b625e
fix: switch back to alpine for everything, disable arm 32 docker builds
2022-08-03 14:05:07 +02:00
kolaente
280ac1164b
fix(docker): switch to debian base image
2022-08-03 12:44:18 +02:00
kolaente
b6d7323cdf
fix: use our own build image as base build image
2022-08-02 23:02:01 +02:00
kolaente
59796fd490
fix: switch to buster for build image
...
The current alpine image does (still) not work on arm. Buster does, so we're just using that.
2022-08-02 22:53:10 +02:00
kolaente
251b877015
chore: use our custom build image to build docker image
2022-08-02 22:01:29 +02:00
kolaente
63340b32f8
Revert "Update alpine Docker tag to v3.14 ( #889 )"
...
This reverts commit 81d469f6
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/12764
2021-06-16 15:58:22 +02:00
renovate
81d469f687
Update alpine Docker tag to v3.14 ( #889 )
...
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/889
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-06-16 08:06:15 +00:00
kolaente
6f54d4d8be
Revert "Update alpine Docker tag to v3.13 ( #884 )"
...
This reverts commit b4f08e88
Reverting because alpine 3.13 does not work on arm (but it does on arm64) - see https://drone.kolaente.de/vikunja/api/3070/4/3
2021-06-15 10:18:04 +02:00
renovate
b4f08e88ae
Update alpine Docker tag to v3.13 ( #884 )
...
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/884
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-06-14 20:34:11 +00:00
konrad
015ca310e9
Add notifications package for easy sending of notifications ( #779 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/779
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-07 21:05:09 +00:00
kolaente
6945d8ba69
Pin golang alpine builder image to 3.12 to fix builds on arm
2021-01-26 21:02:59 +01:00
kolaente
c1ad9d58f5
Revert "Update alpine Docker tag to v3.13 ( #768 )"
...
This reverts commit 32c021e2
The alpine image in version 3.13 has issues, therefore I'm reverting that commit until they are fixed.
2021-01-16 14:52:38 +01:00
renovate
32c021e2b3
Update alpine Docker tag to v3.13 ( #768 )
...
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/768
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-15 06:49:08 +00:00
kolaente
471d1b0ec5
Fix dockerimage build
2020-09-03 18:08:26 +02:00
kolaente
53cfa99912
Remove vendored dependencies
2020-06-28 14:00:10 +02:00
renovate
9c4c265767
Update alpine Docker tag to v3.12 ( #573 )
...
Update alpine Docker tag to v3.12
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/573
2020-05-29 21:44:01 +00:00
kolaente
4204af255c
Add ability to run the docker container with configurable user and group ids
2020-05-22 21:18:11 +02:00
renovate
191942fcd1
Update alpine Docker tag to v3.11 ( #160 )
...
Update alpine Docker tag to v3.11
Add github token for renovate (#164 )
Add github token for renovate
Add github token for renovate
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/164
Update Renovate Configuration (#161 )
Add labels to renovate
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/161
Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/160
2020-04-06 06:40:42 +00:00
kolaente
5d96c62a47
Fix time zone settings not working in Docker
2020-02-08 23:18:41 +01:00
kolaente
9dc419e854
Add file volume to the docker image
2019-11-24 18:36:43 +01:00
kolaente
021ee48ec3
Made sure all tags are checked out when building in docker
2019-09-01 11:43:01 +02:00
konrad
50ca8bd28e
Statically compile templates in the final binary ( #84 )
2019-07-11 19:10:42 +00:00
konrad
6746984c97
Simplified the docker image ( #80 )
2019-06-02 14:37:10 +00:00
konrad
553055f073
Fixed build
2018-12-13 16:09:00 +01:00
kolaente
e5c1588576
Fix docker build
2018-11-25 22:00:43 +01:00
konrad
4f8a0f8739
Fixed no root path for templates and static assets ( #12 )
2018-11-02 10:01:28 +00:00
konrad
c51ca4dd26
Fixed dockerfile ( #11 )
2018-11-02 09:18:38 +00:00
kolaente
3f9fad0e2a
use go modules from vendor when building the docker image
2018-10-28 18:38:40 +01:00
konrad
b16c88a6f3
Added swaggerfiles do dockerfile
2018-09-08 16:54:21 +02:00
kolaente
d48f3f9737
fixed crashing when no config was found
2018-09-08 16:43:37 +02:00
kolaente
371dd52fa9
updated dockerimage
2018-09-08 16:10:06 +02:00
konrad
c834bc14d5
Moved dockerfile
2018-09-08 15:23:53 +02:00