mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
add(podman,linux)
This commit is contained in:
parent
709c3d76ed
commit
90e1365c01
1 changed files with 19 additions and 10 deletions
|
@ -5,12 +5,13 @@ distributable:
|
|||
versions:
|
||||
github: containers/podman/releases/tags
|
||||
|
||||
platforms:
|
||||
- darwin
|
||||
#fixme: - linux once qemu is built
|
||||
|
||||
provides:
|
||||
linux:
|
||||
- bin/podman
|
||||
- bin/podman-remote
|
||||
darwin:
|
||||
- bin/podman
|
||||
- bin/podman-remote
|
||||
- bin/podman-mac-helper
|
||||
|
||||
dependencies:
|
||||
|
@ -32,11 +33,19 @@ build:
|
|||
s_\(^var defaultHelperBinariesDir.*\)_\
|
||||
\1\n "\$BINDIR/../../../$GVISOR_MAJOR/bin",_
|
||||
|
||||
- make --jobs {{ hw.concurrency }} podman-remote
|
||||
- make --jobs {{ hw.concurrency }} podman-mac-helper
|
||||
- mkdir -p "{{ prefix }}"/bin
|
||||
- mv bin/"{{ hw.platform }}"/* "{{ prefix }}"/bin
|
||||
- ln -s podman "{{ prefix }}"/bin/podman-remote
|
||||
- make --jobs {{ hw.concurrency }} podman-remote
|
||||
|
||||
- run: |
|
||||
mv bin/podman-remote "{{ prefix }}"/bin/
|
||||
ln -s podman-remote "{{ prefix }}"/bin/podman
|
||||
if: linux
|
||||
|
||||
- run: |
|
||||
make --jobs {{ hw.concurrency }} podman-mac-helper
|
||||
mv bin/darwin/podman{-mac-helper,} "{{ prefix }}"/bin/
|
||||
ln -s podman "{{ prefix }}"/bin/podman-remote
|
||||
if: darwin
|
||||
env:
|
||||
# path for gvproxy to add to platform config
|
||||
GVISOR_MAJOR: |-
|
||||
|
|
Loading…
Reference in a new issue