From 6d2feaf079adfb5c67aad7f67ab8998c74af9ad5 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 22 Mar 2020 17:41:30 +0100 Subject: [PATCH] Install crudini on the container --- Dockerfile | 9 ++++++++- ansible/pre-deploy.yml | 6 ------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index e49ac53..e41ecca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,13 @@ COPY . ${WORKDIR} COPY sbin/* /sbin/ -RUN apk --no-cache add mysql-client +RUN apk --no-cache add \ + ca-certificates \ + mysql-client \ + py-pip + +RUN pip install --upgrade pip + +RUN pip install --no-cache-dir crudini ENTRYPOINT ["/sbin/entrypoint.sh"] diff --git a/ansible/pre-deploy.yml b/ansible/pre-deploy.yml index 71d982f..048b3bd 100644 --- a/ansible/pre-deploy.yml +++ b/ansible/pre-deploy.yml @@ -8,12 +8,6 @@ extensions: - yml - - name: Install system dependencies - apt: - name: crudini - state: present - become: true - - name: Configure git.autonomic.zone domain dokku_domains: app: gitea