mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
* Create hardened docker image * Remove healthcheck that can't work * Pin action dependencies * Further cleanup and hardening * Fix broken hardened build * Enhance Dockerfile with healthcheck and optimizations Added healthcheck helper using a small Go file module and improved Dockerfile structure for readability. --------- Co-authored-by: Katos <7927609+katosdev@users.noreply.github.com>
20 lines
414 B
YAML
20 lines
414 B
YAML
services:
|
|
homebox:
|
|
image: homebox
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile.hardened
|
|
args:
|
|
- COMMIT=head
|
|
- BUILD_TIME=0001-01-01T00:00:00Z
|
|
x-bake:
|
|
platforms:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
- linux/arm/v7
|
|
environment:
|
|
- HBOX_DEBUG=true
|
|
- HBOX_LOGGER_LEVEL=-1
|
|
ports:
|
|
- 3100:7745
|