An open API service indexing awesome lists of open source software.

https://github.com/haidaram/docker-python3-fabric

A docker image with a version of Fabric compatible with Python3
https://github.com/haidaram/docker-python3-fabric

docker fabric python3

Last synced: 2 months ago
JSON representation

A docker image with a version of Fabric compatible with Python3

Awesome Lists containing this project

README

        

# Docker Python3 Fabric
This is image for a version of [Fabric](http://www.fabfile.org/) compatible with Python3. The official version of Fabric is not compatible with Python3 yet but there is a [fork](https://github.com/mathiasertl/fabric/) compatible with it.

# Example
- `docker pull elmhaidara/python3-fabric`

- Create a `fabfile.py`
```python
# fabfile.py
from fabric.api import local

def hello():
local("echo 'Hello world'")
```

- `docker run --rm -v $PWD:/app elmhaidara/python3-fabric fab hello`. You should see something like this:
```
[localhost] local: echo 'Hello world'
Hello world

Done.
```