Commit graph

17 commits

Author SHA1 Message Date
Kailash Nadh
3894571d1a Remove obsolete demo file reference from Docker build commands. 2024-10-27 18:55:21 +05:30
Luís Mendes
821b43d74f
Add support for running Docker container as non-root user using docker-entrypoint.sh (#1892)
* Enabling the usage of non root user in Docker
* Added docker-entrypoint.sh to .goreleaser.yml
* Renamed UID to PUID and GID to PGID
2024-07-21 11:03:15 +05:30
David Lorenz
9423c74d96
Docker Multi Arch (esp. ARM) builds: Improving Build File (#1451)
Co-authored-by: David Lorenz <david@wahnsinn.design>
2023-09-07 22:23:17 +05:30
Chinmay Pai
3663a8b10b
feat: add multiarch docker build support (#1344)
* feat: add multiarch docker build support

adds docker build support for the following platforms:
- amd64 (default)
- arm64v8
- armv6
- armv7

also adds GOOS and GOARCH information to the buildString

utilizes docker manifest to store image architecture metadata

* chore: update goreleaser action to v4

* chore: update docker login action to v2

* chore: format buildstring
2023-07-18 11:16:25 +05:30
Chinmay Pai
8c46b758ce
build: push docker image to ghcr.io (#1237)
with the new recent changes in dockerhub[1] we should
start pushing images to ghcr, and eventually phase out
the existing dockerhub setup.

[1]: https://blog.alexellis.io/docker-is-deleting-open-source-images/

Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
2023-04-11 21:42:41 +05:30
Navan Chauhan
eb1d4a3c2a
add support for arm binaries (#1249) 2023-03-21 18:01:30 +05:30
Karan Sharma
df34e57e65 fix: remove deprecated syntax in goreleaser
`binaries` in `docker` is now deprecated
(https://goreleaser.com/deprecations#dockerbinaries).
2021-03-19 12:21:35 +05:30
Karan Sharma
c63f9c6096 chore: Pass the binary path correctly to make
Based on afef994e6d
the binary variable `BIN` was changed. The same needs to be updated
in `.goreleaser.yml` config as well.
2021-02-01 16:18:09 +05:30
Kailash Nadh
aee1bfd92e Add (Open/Net/Free)BSD to cross-platform release builds. 2020-10-18 22:48:00 +05:30
Kailash Nadh
cfe66bb29d Fix and refactor Makefile and .goreleaser build commands.
The earlier goreleaser implementation was incorrect where every
build would trigger `make pack-release` with the list of all
cross-platform releases. Fix that to atomically run the packing
once per goreleaser build. In addition, add `make release-dry`
and `make release` for goreleaser.
2020-10-18 22:44:21 +05:30
Kailash Nadh
0f055eacb8 Fix build scripts (and static file embed) 2020-08-09 20:02:43 +05:30
Karan Sharma
06bb719a7b feat: Add separate config for demo setup, tweak docs
This PR adds `config-demo.toml` to `Dockerfile` which uses the db host
`demo-db`. This is more suited for demo setups. For normal docker installations
the db host is changed back to `db` which is a better sane default.
Reworded `INSTALL.md` and `README.md` for more clarity on docker
installation and configuration.
2020-07-08 22:38:31 +05:30
karan
1534c4678a fix: Path for windows build in goreleaser 2019-07-12 15:44:44 +05:30
karan
728d1c26e7 feat: Add docker demo setup 2019-07-12 14:03:54 +05:30
Kailash Nadh
51ec37427f Add install readme file 2019-07-12 13:57:11 +05:30
mr-karan
bdc837d03f feat: Create docker release
- Updates `.goreleaser.yml` to add docker build step
- Adds `Dockerfile` for listmonk
- Adds `docker-compose.yml` for reference.
2019-07-12 07:52:05 +05:30
Kailash Nadh
e89a54b957 Refactor and add new build routines
- Fix version injection in build
- Refactor Makefile
- Add --new-config flag to generate sample config
- Add license
- Remove autogenerated frontend README
- Refactor make dist to do end-to-end build
- Refactor build and add goreleaser conf
2019-07-09 15:57:04 +05:30