Add python3 yaml package
This commit is contained in:
parent
2ea37fb01d
commit
9736c1bb2b
@ -141,7 +141,7 @@ class Packages(Action):
|
|||||||
cachedir = os.path.join(self.cache_root, self.mgr)
|
cachedir = os.path.join(self.cache_root, self.mgr)
|
||||||
await self.mount(cachedir, '/var/cache/apk')
|
await self.mount(cachedir, '/var/cache/apk')
|
||||||
# special step to enable apk cache
|
# special step to enable apk cache
|
||||||
await self.rexec('ln -s /var/cache/apk /etc/apk/cache')
|
await self.rexec('ln -sf /var/cache/apk /etc/apk/cache')
|
||||||
return cachedir
|
return cachedir
|
||||||
|
|
||||||
async def dnf_setup(self):
|
async def dnf_setup(self):
|
||||||
|
|||||||
@ -4,6 +4,7 @@ from shlax.contrib.gitlab import *
|
|||||||
PYTEST = 'py.test -svv tests'
|
PYTEST = 'py.test -svv tests'
|
||||||
|
|
||||||
build = Buildah(
|
build = Buildah(
|
||||||
|
Packages('py3-yaml'),
|
||||||
Copy('shlax/', 'setup.py', '/app'),
|
Copy('shlax/', 'setup.py', '/app'),
|
||||||
Pip('/app'),
|
Pip('/app'),
|
||||||
commit='yourlabs/shlax',
|
commit='yourlabs/shlax',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user