Frédéric Guillot
95eb6c1230
chore(docker): update golang base image to alpine 3.22
2025-06-23 19:11:03 -07:00
dependabot[bot]
4e181330d0
build(deps): bump library/alpine in /packaging/docker/alpine
...
Bumps library/alpine from 3.21 to 3.22.
---
updated-dependencies:
- dependency-name: library/alpine
dependency-version: '3.22'
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 19:17:39 -07:00
dependabot[bot]
7346d751cc
build(deps): bump library/alpine in /packaging/docker/alpine
...
Bumps library/alpine from 3.20 to 3.21.
---
updated-dependencies:
- dependency-name: library/alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 19:35:31 -08:00
Frédéric Guillot
eb057d0415
build: bump Alpine Linux build image to v3.20
2024-08-15 16:48:26 -07:00
Frédéric Guillot
fa51c3ead7
chore: avoid using legacy key/value format in Dockerfile
2024-08-15 16:39:43 -07:00
dependabot[bot]
fe9f1bba16
build(deps): bump library/alpine in /packaging/docker/alpine
...
Bumps library/alpine from 3.19 to 3.20.
---
updated-dependencies:
- dependency-name: library/alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 15:44:57 -07:00
Michael Kuhn
194f517be8
Improve Dockerfiles
...
- Specify Docker registry explicitly (e.g., Podman does not use
`docker.io` by default)
- Use `make miniflux` instead of duplicating `go build` arguments (this
leverages Go's PIE build mode)
- Enable cgo to fix ARM containers (we need to make sure to use the same
OS version for both container stages to avoid libc issues)
2024-04-04 17:36:28 -07:00
Frédéric Guillot
aa30c35e7e
Use numeric UID in Alpine Docker image
...
Same as PR #2332
2024-02-05 20:49:25 -08:00
Sheogorath
552fb3e4cc
Fix non-numeric UID
...
This patch adjusts the distroless image to use the predefined non-root UID, which uses explicit UID definitions. This allows orchestrators like Kubernetes to validate non-zero UIDs directly by checking the Image metadata.
The previous setup without an explicit `runAsUser` in the securityContext would produce the following error when enabling `runAsNonRoot`:
```
Error: container has runAsNonRoot and image has non-numeric user (nonroot), cannot verify user is non-root (pod: "miniflux-97cc5955f-pt7vf_miniflux(d1c56d29-ea0a-407c-b3f3-9821fbd7ee61)", container: miniflux)
```
2024-02-04 21:32:42 -08:00
Frédéric Guillot
168a870c02
Move internal packages to an internal folder
...
For reference: https://go.dev/doc/go1.4#internalpackages
2023-08-10 20:29:34 -07:00
Frédéric Guillot
c234903255
Rename Miniflux package name to follow Go module naming convention
...
For reference: https://go.dev/ref/mod#major-version-suffixes
2023-08-09 22:10:44 -07:00
Frédéric Guillot
30288fec8d
Disable CGO when building Docker images
2023-06-22 21:19:44 -07:00
Frédéric Guillot
02e975d3f3
Add distroless Docker image variant
2022-03-15 22:55:31 -07:00
Frédéric Guillot
20ec435d6d
Move healthcheck from Dockerfile to docker-compose because it's optional
2021-02-22 21:47:30 -08:00
Frédéric Guillot
bbf93430b7
Add more extensive healthcheck support
...
- Add new cli argument: -healthcheck
- Add HEALTHCHECK instruction to Dockerfile
- Update Docker Compose examples
2021-02-20 12:58:04 -08:00
Frédéric Guillot
6b7ffe0e26
Add Open Containers annotations to Docker image
2021-02-13 16:27:23 -08:00
Mark Woodbridge
1eb239bf88
Reinstate EXPOSE instruction
...
This ensures that the relevant port is published when using `docker run -P`, Traefik's Docker integration etc
2020-11-04 13:38:45 -08:00
Frédéric Guillot
b539eb8575
Fix auto-generated version (git describe)
2020-11-03 15:14:57 -08:00
Frédéric Guillot
6e20d37dda
Build multi-platform images with Docker Buildx
2020-10-18 15:09:47 -07:00