From c0174932d8c8a3fa0fcbb1ff503214a9f1f3ac71 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Mon, 22 Jan 2018 11:01:05 +0000 Subject: [PATCH] some little work on the writingenv --- writing_env/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/writing_env/Dockerfile b/writing_env/Dockerfile index 9f34b3e..12b2ea2 100644 --- a/writing_env/Dockerfile +++ b/writing_env/Dockerfile @@ -16,7 +16,8 @@ ADD root / # prepare for provisioning RUN set -ex \ - && apk add \ + && apk upgrade -a --no-cache \ + && apk add --no-cache\ ansible \ bash \ ca-certificates \ @@ -37,11 +38,8 @@ USER blog # provision RUN set -ex \ && git clone https://github.com/xsteadfastx/batcave.git ~/.batcave \ + && touch ~/.profile \ && ansible-playbook -i ~/.batcave/hosts ~/.batcave/shell.yml -c local --extra-vars="host=127.0.0.1" \ && ansible-playbook -c local /home/blog/playbooks/writing_env.yml -# clean up -RUN set -ex \ - && sudo rm -rf /var/cache/apk/* - EXPOSE 8000