Skip to content

Commit

Permalink
services/pkg/popcorn: create popcorn container
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Feb 23, 2024
1 parent ef32119 commit 41279e2
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pkg-popcorn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Popcorn Service Container
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- services/pkg/popcorn/**
push:
branches:
- master
paths:
- services/pkg/popcorn/**

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

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

target "infra-popcorn" {
inherits = ["_common-glibc"]
context = "services/pkg/popcorn/"
}

target "infra-rspamd" {
inherits = ["_common-musl"]
context = "services/pkg/rspamd/"
Expand Down
6 changes: 6 additions & 0 deletions services/pkg/popcorn/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM ghcr.io/void-linux/void-glibc:20231230R1

RUN xbps-install -Suy xbps && xbps-install -y PopCorn-Server && \
rm -rf /var/cache/xbps

CMD ["/bin/sh"]

0 comments on commit 41279e2

Please sign in to comment.