From 2cfff6bb7c191ad56c400b6cae611b4032438731 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Thu, 4 Jan 2018 21:21:00 +0100 Subject: [PATCH] fixed Dockerfiles and add missing termite role file --- docker/archlinux/Dockerfile | 3 +-- docker/archlinux/hosts | 2 ++ docker/centos/Dockerfile | 3 +-- docker/centos/hosts | 2 ++ docker/debian/Dockerfile | 3 +-- docker/debian/hosts | 2 ++ roles/termite/files/gtk.css | 3 +++ 7 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 docker/archlinux/hosts create mode 100644 docker/centos/hosts create mode 100644 docker/debian/hosts create mode 100644 roles/termite/files/gtk.css diff --git a/docker/archlinux/Dockerfile b/docker/archlinux/Dockerfile index 0a2744a..ca1cdcd 100644 --- a/docker/archlinux/Dockerfile +++ b/docker/archlinux/Dockerfile @@ -44,7 +44,6 @@ RUN cd /tmp; curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBU RUN cd /tmp; makepkg PKGBUILD --install --needed --noconfirm RUN mkdir dotfiles COPY . dotfiles/ -RUN cd dotfiles; echo "[desktop]\nlocalhost ansible_connection=local" > hosts -RUN cd dotfiles; ansible-playbook install.yml | tee ansible.log +RUN cd dotfiles; ansible-playbook -i docker/archlinux/hosts install.yml | tee ansible.log RUN echo -e "test" | chsh -s '/usr/bin/zsh' ENTRYPOINT /usr/bin/zsh diff --git a/docker/archlinux/hosts b/docker/archlinux/hosts new file mode 100644 index 0000000..ab27805 --- /dev/null +++ b/docker/archlinux/hosts @@ -0,0 +1,2 @@ +[desktop] +localhost ansible_connection=local diff --git a/docker/centos/Dockerfile b/docker/centos/Dockerfile index fe6f94e..5b119e5 100644 --- a/docker/centos/Dockerfile +++ b/docker/centos/Dockerfile @@ -33,7 +33,6 @@ WORKDIR /home/test/ ENV LANG="fr_FR.UTF-8" RUN mkdir dotfiles COPY . dotfiles/ -RUN cd dotfiles; echo "[server]\nlocalhost ansible_connection=local" > hosts -RUN cd dotfiles; ansible-playbook install.yml | tee ansible.log +RUN cd dotfiles; ansible-playbook -i docker/centos/hosts install.yml | tee ansible.log RUN echo -e "dockerpass" | chsh -s /bin/zsh ENTRYPOINT /usr/bin/zsh diff --git a/docker/centos/hosts b/docker/centos/hosts new file mode 100644 index 0000000..d2dced9 --- /dev/null +++ b/docker/centos/hosts @@ -0,0 +1,2 @@ +[server] +localhost ansible_connection=local diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile index ca60321..23358ae 100644 --- a/docker/debian/Dockerfile +++ b/docker/debian/Dockerfile @@ -34,7 +34,6 @@ WORKDIR /home/test/ ENV LANG="fr_FR.UTF-8" RUN mkdir dotfiles COPY . dotfiles/ -RUN cd dotfiles; echo "[server]\nlocalhost ansible_connection=local" > hosts -RUN cd dotfiles; ansible-playbook install.yml | tee ansible.log +RUN cd dotfiles; ansible-playbook -i docker/debian/hosts install.yml | tee ansible.log RUN sudo chsh -s '/usr/bin/zsh' test ENTRYPOINT /usr/bin/zsh diff --git a/docker/debian/hosts b/docker/debian/hosts new file mode 100644 index 0000000..d2dced9 --- /dev/null +++ b/docker/debian/hosts @@ -0,0 +1,2 @@ +[server] +localhost ansible_connection=local diff --git a/roles/termite/files/gtk.css b/roles/termite/files/gtk.css new file mode 100644 index 0000000..bbb886b --- /dev/null +++ b/roles/termite/files/gtk.css @@ -0,0 +1,3 @@ +VteTerminal, vte-terminal { +padding: 6px; +}