Commit Graph

31 Commits

Author SHA1 Message Date
Steven Tang b04a84ee5a
docker: add non-root user 2023-01-25 21:56:54 +11:00
Ferdinand Mütsch 0f3b41c2dd fix(ci): adapt docker and gha build to use go 1.19 2022-12-03 00:32:30 +01:00
Ferdinand Mütsch 4d217a83c1 chore: update readme and dockerfile 2022-09-30 00:02:04 +02:00
Ferdinand Mütsch dd8658e33e refactor: replace sqlite with pure go implementation 2022-09-08 21:13:13 +02:00
Steven Tang df5fe6e623
fix: initialise data/ dir in Docker 2022-08-19 21:55:58 +10:00
Steven Tang ec10cc922c
perf: strip binaries 2022-08-19 19:53:02 +10:00
Steven Tang acb76e1ab1
ref: simplify Dockerfile stages 2022-08-19 19:37:05 +10:00
bdeshi d245b1e5d0
chore: remove hard-coded volume from Dockerfile 2022-04-24 17:33:42 +06:00
Ferdinand Mütsch 8f933d8648 chore: upgrade dependencies
chore: update dockerfile to build with go 1.18
2022-03-20 16:29:13 +01:00
Shyim 52269c780f add missing expose to Dockerfile 2022-03-01 18:19:47 +11:00
Steven Tang 2bb3b886c2
chore: update Docker to use golang:1.17-alpine 2022-01-03 12:05:09 +11:00
Steven Tang b66f9b5cf5
perf: separate download stage in Dockerfile 2022-01-03 12:01:33 +11:00
Steven Tang bf7f93fcd4
perf: use --no-cache in Dockerfile 2022-01-03 11:16:17 +11:00
Ferdinand Mütsch 7dd0967451 chore: drop debian based docker image and use alpine by default 2021-12-15 15:37:14 +01:00
Steven Tang 407925ec53
feat: add alpine image 2021-06-27 18:01:43 +10:00
Steven Tang 6256c8e10a
ref: embed files, bump to go 1.16 (#167)
* ref: embed portion of files
* fix: readd pkger
* ref: embed version.txt
* fix: wrong mail template import path
* refactor: get rid of sql-migrate
refactor: get rid of pkger in favor of go embed (resolve #164)
* chore: remove unused var [ci-skip]

Co-authored-by: Ferdinand Mütsch <ferdinand@muetsch.io>
2021-04-11 10:42:43 +00:00
Ferdinand Mütsch e571e5266d fix: dockerfile syntax error 2021-02-07 12:58:24 +01:00
Ferdinand Mütsch d728426b45 chore: add config option to disable user registrations (resolve #113) 2021-02-06 10:59:12 +01:00
Ferdinand Mütsch 22260ceb0d ci: make docker container wait properly for database to come up 2021-02-06 10:43:32 +01:00
Ferdinand Mütsch 71d1b2177b fix: missing ca certificates in docker container (resolve #98)
fix: server crash in unsuccessful relaying of heartbeat to wakatime
2021-01-24 21:39:35 +01:00
Steven Tang 4e6e665e19
feat: embed assets into binary
Resolves #26
2021-01-23 10:00:15 +11:00
Steven Tang ec81d9fe5d
docker: reduce image layers 2021-01-12 21:50:20 +11:00
Ferdinand Mütsch 262bee9022 fix: do not attempt to bind on ipv6 in docker (resolve #84) 2021-01-07 10:55:53 +01:00
Roch D'Amour 06b3fdd17c Improved Dockerfile and docker-compose for dev 2020-10-25 02:21:41 -04:00
Ferdinand Mütsch 3bafde7ab1 fix: adapt docker image to new config format 2020-10-04 11:52:52 +02:00
Steven Tang 24469e4922 feat: add base_path environment variable 2020-07-14 21:22:30 +10:00
Ferdinand Mütsch 25b32e2fec chore: update dockerfile 2020-05-30 12:27:10 +02:00
Ferdinand Mütsch f264ede147 fix: update docekr file to include env vars and volume 2020-04-26 15:18:47 +02:00
Ferdinand Mütsch b05105cbeb fix: docker build 2020-04-26 15:07:00 +02:00
Ferdinand Mütsch 82acd2725e Update Readme. 2019-10-08 09:08:52 +02:00
robrotheram 6a87b1d262 Added Docker fixes issue #5 2019-10-07 23:41:00 +01:00