From ff43fe4ddb4000944c18909759fc671be58c93d2 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Wed, 13 May 2020 22:40:09 +0200 Subject: [PATCH] updated docker build --- .travis.yml | 4 +++- docker/archlinux/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 78b84cc..d14eb78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,6 @@ install: - docker build -t archlinux/dotfiles -f docker/archlinux/Dockerfile . script: - - docker run archlinux/dotfiles dotfiles/docker/archlinux/test.sh + - cd dotfiles + - docker run archlinux/dotfiles ansible-playbook -i docker/archlinux/hosts install.yml + #- docker run archlinux/dotfiles dotfiles/docker/archlinux/test.sh diff --git a/docker/archlinux/Dockerfile b/docker/archlinux/Dockerfile index 76d258d..fee80ac 100644 --- a/docker/archlinux/Dockerfile +++ b/docker/archlinux/Dockerfile @@ -43,5 +43,5 @@ WORKDIR /home/user/ ENV LANG="fr_FR.UTF-8" RUN mkdir dotfiles COPY . dotfiles/ -RUN cd dotfiles; ansible-playbook -i docker/archlinux/hosts install.yml | tee ansible.log +RUN cd dotfiles; ansible-playbook -i docker/archlinux/hosts install.yml ENTRYPOINT /bin/bash