1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +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
RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
ansible \
jshon \
git \
# Archlinux Deps
RUN pacman -Syu --noconfirm \
sudo \
binutils \
util-linux \
@ -17,11 +15,21 @@ RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
perl \
automake \
autoconf \
xorg-server-xephyr
gettext \
patch \
xorg-server-xephyr || df -h
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 echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
# Fix tmp dir perms
RUN chmod 1777 /tmp
# User run
USER test
WORKDIR /home/test/
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
```
## Clean docker files
## Clean Docker files
```
sudo docker system prune
```
## Start Docker
```
sudo docker build -t archlinux-dotfiles .
```

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

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