1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

updated docker build

This commit is contained in:
eoli3n 2020-05-13 22:40:09 +02:00
parent b94b12df1b
commit ff43fe4ddb
2 changed files with 4 additions and 2 deletions

@ -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

@ -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