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
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
konrad
8245c90bc1
Fixed dockerfile
2018-09-08 15:18:57 +02:00
konrad
e882fbe6ad
Added dockerfile
2018-09-08 15:08:33 +02:00