[skip ci] add readme pyb

This commit is contained in:
ansgarz 2021-12-10 12:21:55 +01:00
parent bb8bd63ebd
commit 7e135ee4f3

30
infrastructure/README.md Normal file
View file

@ -0,0 +1,30 @@
# Build images
## Prerequisites
See also https://pypi.org/project/ddadevops/
```bash
# Ensure that yout python3 version is at least Python 3.7!
sudo apt install python3-pip
pip3 install pip --upgrade --user
pip3 install pybuilder ddadevops deprecation --user
export PATH=$PATH:~/.local/bin
# terraform
pip3 install dda-python-terraform --user
# AwsMixin
pip3 install boto3 --user
# AwsMfaMixin
pip3 install boto3 mfa --user
```
In folder "docker-backup" resp. "docker-nextcloud":
```bash
# step test is optional
pyb image test publish
```