Commit Graph

92 Commits

Author SHA1 Message Date
renovate[bot]
d4c49959df chore(deps): update ghcr.io/techknowlogick/xgo:go-1.23.x docker digest to a56d0c3 (#885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-10 12:06:19 +02:00
renovate[bot]
586afbc15f chore(deps): update ghcr.io/techknowlogick/xgo:go-1.23.x docker digest to 229c595 2025-06-02 22:06:37 +02:00
renovate[bot]
e287b0a903 chore(deps): update node.js to 41e4389 2025-06-02 22:06:08 +02:00
renovate[bot]
da046c3cad chore(deps): update node.js to 9f3ae04 (#812)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-22 08:17:35 +02:00
renovate[bot]
19419a9f11 chore(deps): update node.js to v22.16.0 (#811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-21 19:40:55 +00:00
Dominik Pschenitschni
865a7640da feat: docker layer cache (#808) 2025-05-21 21:34:14 +02:00
kolaente
b307041393 Revert "feat: improve docker layers (#803)"
This reverts commit 75db48348a.
2025-05-21 10:18:57 +02:00
Dominik Pschenitschni
75db48348a feat: improve docker layers (#803)
Via lockfile-first copy and better dockerignore
2025-05-20 15:14:40 +00:00
renovate[bot]
a1125c7a4e chore(deps): update node.js to 152270c (#784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-16 19:26:12 +00:00
renovate[bot]
d22f9752c0 chore(deps): update node.js to v22.15.1 (#783)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 22:06:29 +02:00
Dominik Pschenitschni
ac244d3915 feat: explicit pnpm ci args (#755) 2025-05-13 10:57:33 +00:00
renovate[bot]
74134df9dc chore(deps): update docker/dockerfile:1 docker digest to 9857836 (#745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 22:47:11 +02:00
kolaente
91f9c5d1c9 fix(build): do not use our own goproxy 2025-05-07 20:34:44 +02:00
renovate[bot]
72544fa36f chore(deps): update ghcr.io/techknowlogick/xgo:go-1.23.x docker digest to d45f463 (#729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-07 15:00:18 +00:00
renovate[bot]
1d733dba9c chore(deps): update node.js to v22.15.0 (#693)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 22:34:28 +02:00
renovate[bot]
c502fc27a5 chore(deps): update ghcr.io/techknowlogick/xgo:go-1.23.x docker digest to 46a3479 (#679)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-17 20:04:07 +00:00
renovate[bot]
086e98079e chore(deps): update ghcr.io/techknowlogick/xgo:go-1.23.x docker digest to 770db5a (#602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 20:02:34 +00:00
renovate[bot]
9f8a85644b fix(deps): pin dependencies (#435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 17:35:22 +02:00
renovate[bot]
c5e79749d4 chore(deps): update node.js to v22.14.0 (#449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 11:38:04 +02:00
kolaente
2bba1e86cf fix(build): update corepack before using it
Fixes upstream https://github.com/pnpm/pnpm/issues/9029
Resolves https://community.vikunja.io/t/issue-building-docker-image/3345/3
2025-02-05 21:31:04 +01:00
kolaente
5e62c219d3 feat(build): add RELEASE_VERSION argument to be able to pass release version via env 2025-01-29 08:38:52 +01:00
renovate
c5c07f5063 chore(deps): update node.js to v22.13.1 2025-01-23 11:15:00 +00:00
renovate
9e5994105a chore(deps): update node.js to v22.13.0 2025-01-08 14:57:09 +00:00
renovate
63839805df chore(deps): update dependency node to v22.12.0 2024-12-20 19:07:53 +01:00
kolaente
e56a01f42d chore: remove default healthcheck in docker
The healtcheck takes really long to initialize, which might cause unnecessary downtime. This removes the default healthcheck from the dockerfile to avoid that for all users. It is still possible to add the healthcheck manually.
2024-12-11 15:17:36 +01:00
kolaente
675985b26c chore: increase healthcheck interval 2024-11-20 19:28:19 +01:00
ScribblerCoder
a5cc5e3783 Add healthcheck command (#2856)
Currently vikunja has a `/health` endpoint that was added in https://kolaente.dev/vikunja/vikunja/pulls/998. Docker/compose cannot utilize this feature since vikunja's docker image doesn't have curl/wget as it is pruned which is great for the image size. This PR adds a `healthcheck` command that send an http request to `/health` and exits with 0 or non-zero depending on the result.
It also adds a `HEALTHCHECK` to the docker image which calls this automatically.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2856
Reviewed-by: konrad <k@knt.li>
Co-authored-by: ScribblerCoder <omar2001.oh@gmail.com>
Co-committed-by: ScribblerCoder <omar2001.oh@gmail.com>
2024-11-20 18:04:55 +00:00
kolaente
6fe22aba39 fix!: disable 368 releases
We can either support arm64 or 368 release binaries - because the arm64 binaries are probably wider used today, we'll prioritize that. It is still possible to compile Vikunja from source on a 368 system, but would take quite a bit of effort in providing pre-built binaries.
Please reach out if you need assistance for 368 binaries.

See https://github.com/techknowlogick/xgo/issues/256#issuecomment-2462135108
2024-11-07 14:41:47 +01:00
kolaente
d6194b8f10 fix: upgrade xgo docker image everywhere 2024-11-05 15:03:14 +01:00
kolaente
de1eac5d36 fix: pin xgo to 1.22.x
Hopefully resolves build issues like https://drone.kolaente.de/vikunja/vikunja/8996/3/10
2024-11-02 19:00:02 +01:00
renovate
c36397188c chore(deps): update node.js to v22.11.0 2024-10-30 07:34:13 +00:00
renovate
21356ae08e chore(deps): update node.js to v22 (#2783)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-10-29 07:38:12 +00:00
kolaente
b5035f9d2b chore(docker): use new env format 2024-08-29 11:19:46 +02:00
kolaente
07bd9de0c6 feat(docker): add opencontainer labels
Resolves https://github.com/go-vikunja/vikunja/issues/308
2024-08-29 11:19:21 +02:00
kolaente
670e605275 chore(deps): update dependency node to v20.16.0 2024-08-12 12:26:53 +02:00
renovate
4fb48e7ab3 chore(deps): update dependency node to v20.14.0 (#2334)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/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
renovate
be004793aa chore(deps): update dependency node to v20.12.2 (#2238)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/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
kolaente
19c9cd9bc2 fix(docker): don't install cypress in docker image 2024-03-20 09:38:28 +01:00
renovate
2fa576d9f5 chore(deps): update dependency node to v20.11.1 2024-03-10 12:24:06 +00:00
kolaente
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
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