Use the standard requirements.txt for prereqs
diff --git a/Dockerfile b/Dockerfile
index 3bd635f..c835620 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,9 +3,11 @@
# Update to have latest images
RUN apk add --update python py-pip
+COPY requirements.txt /tmp/requirements.txt
+
# Install app dependencies
RUN apk add build-base gcc abuild binutils python-dev && \
- pip install scapy twisted && \
+ pip install -r /tmp/requirements.txt && \
apk del --purge build-base gcc abuild binutils python-dev
# Bundle app source
diff --git a/ansible/roles/common/defaults/main.yml b/ansible/roles/common/defaults/main.yml
index 46f473c..d8351fb 100644
--- a/ansible/roles/common/defaults/main.yml
+++ b/ansible/roles/common/defaults/main.yml
@@ -5,6 +5,9 @@
use_latest_for:
- debian-keyring
- debian-archive-keyring
+ - python-dev
+ - libssl-dev
+ - python-virtualenv
obsolete_services:
- puppet