Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

services/pkg/popcorn: create popcorn container #194

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]
Loading