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

addeed neofetch dir

This commit is contained in:
eoli3n 2017-12-24 21:10:42 +01:00
parent 8aa3f442d9
commit 533f5cb5d0
4 changed files with 22 additions and 8 deletions

@ -1,8 +1,6 @@
FROM archlinux/base AS build FROM archlinux/base AS build
RUN pacman -Syu --noconfirm && pacman -S --noconfirm \ # Archlinux Deps
ansible \ RUN pacman -Syu --noconfirm \
jshon \
git \
sudo \ sudo \
binutils \ binutils \
util-linux \ util-linux \
@ -17,11 +15,21 @@ RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
perl \ perl \
automake \ automake \
autoconf \ autoconf \
xorg-server-xephyr gettext \
patch \
xorg-server-xephyr || df -h
ENV PATH="${PATH}:/usr/bin/core_perl" ENV PATH="${PATH}:/usr/bin/core_perl"
# Project deps
RUN pacman -S --noconfirm \
ansible \
jshon \
git
# Create test user
RUN useradd -m test 2> /dev/null RUN useradd -m test 2> /dev/null
RUN echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers RUN echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
# Fix tmp dir perms
RUN chmod 1777 /tmp RUN chmod 1777 /tmp
# User run
USER test USER test
WORKDIR /home/test/ WORKDIR /home/test/
RUN git clone --recursive https://github.com/eoli3n/dotfiles RUN git clone --recursive https://github.com/eoli3n/dotfiles

@ -5,8 +5,12 @@ sudo rm -Rf /var/lib/docker
sudo ln -s /home/docker /var/lib/docker sudo ln -s /home/docker /var/lib/docker
``` ```
## Clean docker files ## Clean Docker files
``` ```
sudo docker system prune sudo docker system prune
``` ```
## Start Docker
```
sudo docker build -t archlinux-dotfiles .
```

@ -5,6 +5,9 @@
- w3m - w3m
- neofetch - neofetch
- name: creates neofetch conf dir
file: path=~/.config/neofetch state=directory
- name: Configure neofetch - name: Configure neofetch
copy: src=files/config.conf dest=~/.config/neofetch/config.conf copy: src=files/config.conf dest=~/.config/neofetch/config.conf

@ -38,8 +38,7 @@
when: ansible_distribution != "Debian" when: ansible_distribution != "Debian"
- name: Install oh-my-zsh - name: Install oh-my-zsh
shell: creates=~/.oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" shell: creates=~/.oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh) ||:"
ignore_errors: True
- name: Search for zsh-syntax-highlighting - name: Search for zsh-syntax-highlighting
shell: find /usr -name zsh-syntax-highlighting.zsh 2>/dev/null shell: find /usr -name zsh-syntax-highlighting.zsh 2>/dev/null