support fuse and bake some more tools into the image

This commit is contained in:
Vivian Lim 2019-12-30 18:31:58 -08:00
parent cb38e11cdc
commit e7706383e1
2 changed files with 14 additions and 2 deletions

View File

@ -34,6 +34,12 @@ RUN pacman -Syu --noconfirm \
# clean cache
&& pacman -Scc --noconfirm
# some more advanced tools
RUN pacman -Sy --noconfirm \
&& pacman -S ffmpeg imagemagick sshfs inotify inotify-tools wget dnsutils youtube-dl --noconfirm \
# clean cache
&& pacman -Scc --noconfirm
# oh-my-zsh
RUN su vivlim -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh) --unattended" \
&& chsh -s /usr/bin/zsh vivlim

View File

@ -6,13 +6,19 @@ services:
container_name: arch
hostname: arch_container
volumes:
#- ./launch.sh:/launch.sh:ro
#- ./user_launch.sh:/user_launch.sh:ro
- ./launch.sh:/launch.sh:ro
- ./user_launch.sh:/user_launch.sh:ro
- /home/vivlim/.ssh:/home/vivlim/.ssh:ro
- /home/vivlim:/home/vivlim/external
- home:/home/vivlim
- ssh_server_keys:/etc/ssh/keys
devices:
- /dev/fuse
cap_add:
- SYS_ADMIN
restart: unless-stopped
networks:
- frontend
ports:
- "7722:22"
postgres_db: