Skip to content

Repository files navigation

Deepin Pbuilder Docker Image

简体中文

What is this

This is a docker image for build Debian package.

Publish DockerPublish Pbuilder

How to use this in Github Actions

create Github Action YAML file .github/workflows/pr.yml:

on: [pull_request]jobs:
build:
runs-on: ubuntu-latestcontainer:
image: ghcr.io/linuxdeepin/deepin-github:latestoptions: --privilegedsteps:
- uses: actions/checkout@v2
- run: /entrypoint.sh

Use deepin-community repository by default, we can use /entrypoint.sh reponame to special which repo used for compiling.

The currently maintainly repos could be found in repos folder.

Multi-repos build Actions example:

on: [pull_request]jobs:
build:
runs-on: ubuntu-latestcontainer:
image: ghcr.io/linuxdeepin/deepin-github:latestoptions: --privilegedstrategy:
matrix:
repo: [deepin, buster]steps:
- uses: actions/checkout@v2
- run: /entrypoint.sh ${{ matrix.repo }}

Why this image required privileged

Because we use Pbuilder to build package, Pbuilder need permission to mount something like /proc ...

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages