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
- Host: GitHub
- URL: https://github.com/haidaram/docker-python3-fabric
- Owner: haidaraM
- Created: 2017-05-28T14:34:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-28T14:38:33.000Z (about 8 years ago)
- Last Synced: 2025-02-04T21:49:31.621Z (4 months ago)
- Topics: docker, fabric, python3
- Size: 0 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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.
```