Skip to content

Commit

Permalink
services/pkg/lsyncd: new service
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Aug 14, 2023
1 parent a409d16 commit b778f3b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- alps
- debuginfod
- lego
- lsyncd
- man-cgi
- nginx
- rspamd
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/pkg-lsyncd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: lsyncd Service Container
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- services/pkg/lsyncd/**
push:
branches:
- master
paths:
- services/pkg/lsyncd/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
main:
uses: ./.github/workflows/build-pkg.yml
with:
service_name: lsyncd
5 changes: 5 additions & 0 deletions services/pkg/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ target "infra-lego" {
context = "services/pkg/lego/"
}

target "infra-lsyncd" {
inherits = ["_common-musl"]
context = "services/pkg/lsyncd/"
}

target "infra-man-cgi" {
inherits = ["infra-nginx"]
context = "services/pkg/man-cgi/"
Expand Down
6 changes: 6 additions & 0 deletions services/pkg/lsyncd/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM ghcr.io/void-linux/void-musl:latest

RUN xbps-install -Sy lsyncd tini && rm -rf /var/cache/xbps

ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["/usr/bin/lsyncd", "-nodaemon", "/local/lsyncd.conf"]

0 comments on commit b778f3b

Please sign in to comment.