57 Commits

Author SHA1 Message Date
4fb48e7ab3 chore(deps): update dependency node to v20.14.0 (#2334)
Reviewed-on: vikunja/vikunja#2334
Reviewed-by: konrad <k@knt.li>
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-06-10 21:41:11 +00:00
be004793aa chore(deps): update dependency node to v20.12.2 (#2238)
Reviewed-on: vikunja/vikunja#2238
Reviewed-by: konrad <k@knt.li>
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-04-18 20:46:48 +00:00
19c9cd9bc2
fix(docker): don't install cypress in docker image 2024-03-20 09:38:28 +01:00
2fa576d9f5 chore(deps): update dependency node to v20.11.1 2024-03-10 12:24:06 +00:00
e42a605597
fix: add root ca to final docker image
Since Vikunja's docker image is now based on the scratch image, the root ca certificates are not included by default anymore. This meant Vikunja could not check if the certificate presented by a remote host was valid, thus failing the connection. This meant it was impossible to use features communicating with external hosts such as webhooks, openid auth or gravatar.
2024-03-02 11:48:14 +01:00
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
b1745edfa6
chore: remove unused build args 2024-02-09 19:44:52 +01:00
f77ba0d4f1
feat: only one dockerfile with api and frontend 2024-02-09 13:42:05 +01:00
66cc0283e8 chore(deps): update alpine docker tag to v3.19 2023-12-20 10:37:29 +00:00
21d0676399
chore(deps): update xgo to go 1.21 2023-10-11 23:05:51 +02:00
191c154150
chore(build): use our own goproxy to prevent issues with packages not found 2023-09-12 13:34:35 +02:00
9e5cfb6fd6 chore(deps): update alpine docker tag to v3.18 2023-05-10 00:01:24 +00:00
01fb738dc8
fix(build): make sure the docker image can access go tools 2023-04-02 18:55:30 +02:00
33f0d0f85a
fix: update xgo in dockerfile to 1.20.2
Resolves vikunja/api#1445
2023-03-24 19:24:25 +01:00
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
5d242f7e54
chore(deps): update xgo to 1.20 2023-02-02 17:44:57 +01:00
32ff4b2cbd
fix(docker): re-add expose 2023-02-01 18:39:57 +01:00
6ddadba573
fix(docker): cross compilation with buildx 2023-02-01 15:06:55 +01:00
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: vikunja/api#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
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
a6e214b654
feat: use docker buildx to build multiarch images 2022-11-12 14:30:48 +01:00
c5bd09702a chore(deps): update dependency golang to v1.19 (#1228)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1228
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-10-01 15:05:12 +00:00
b71e6f8049
fix(docker): use official go image instead of our own to build 2022-08-03 17:54:21 +02:00
7ffe9b625e
fix: switch back to alpine for everything, disable arm 32 docker builds 2022-08-03 14:05:07 +02:00
280ac1164b
fix(docker): switch to debian base image 2022-08-03 12:44:18 +02:00
b6d7323cdf
fix: use our own build image as base build image 2022-08-02 23:02:01 +02:00
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
251b877015
chore: use our custom build image to build docker image 2022-08-02 22:01:29 +02:00
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
81d469f687 Update alpine Docker tag to v3.14 (#889)
Reviewed-on: vikunja/api#889
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-06-16 08:06:15 +00:00
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
b4f08e88ae Update alpine Docker tag to v3.13 (#884)
Reviewed-on: vikunja/api#884
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-06-14 20:34:11 +00:00
015ca310e9 Add notifications package for easy sending of notifications (#779)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#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
6945d8ba69
Pin golang alpine builder image to 3.12 to fix builds on arm 2021-01-26 21:02:59 +01:00
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
32c021e2b3 Update alpine Docker tag to v3.13 (#768)
Reviewed-on: vikunja/api#768
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-15 06:49:08 +00:00
471d1b0ec5
Fix dockerimage build 2020-09-03 18:08:26 +02:00
53cfa99912
Remove vendored dependencies 2020-06-28 14:00:10 +02:00
9c4c265767 Update alpine Docker tag to v3.12 (#573)
Update alpine Docker tag to v3.12

Reviewed-on: vikunja/api#573
2020-05-29 21:44:01 +00:00
4204af255c
Add ability to run the docker container with configurable user and group ids 2020-05-22 21:18:11 +02:00
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: vikunja/api#164

Update Renovate Configuration (#161)

Add labels to renovate

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#161

Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: vikunja/api#160
2020-04-06 06:40:42 +00:00
5d96c62a47
Fix time zone settings not working in Docker 2020-02-08 23:18:41 +01:00
9dc419e854
Add file volume to the docker image 2019-11-24 18:36:43 +01:00
021ee48ec3
Made sure all tags are checked out when building in docker 2019-09-01 11:43:01 +02:00
50ca8bd28e Statically compile templates in the final binary (#84) 2019-07-11 19:10:42 +00:00
6746984c97 Simplified the docker image (#80) 2019-06-02 14:37:10 +00:00
553055f073
Fixed build 2018-12-13 16:09:00 +01:00
e5c1588576
Fix docker build 2018-11-25 22:00:43 +01:00
4f8a0f8739 Fixed no root path for templates and static assets (#12) 2018-11-02 10:01:28 +00:00
c51ca4dd26 Fixed dockerfile (#11) 2018-11-02 09:18:38 +00:00