Skip to content

Commit

Permalink
Move all pacman layers into init-image.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Feb 8, 2021
1 parent a470fa8 commit 3db1038
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from archlinux:base-devel

copy pacman.conf /etc/pacman.conf
run pacman -Syu --noconfirm
run pacman -S --noconfirm --needed --overwrite '*' bash
run pacman -Fy --noconfirm
copy init-image.bash /init-image.bash
run /init-image.bash

Expand Down
3 changes: 0 additions & 3 deletions Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from archlinux:base-devel

copy pacman.conf /etc/pacman.conf
run pacman -Syu --noconfirm
run pacman -S --noconfirm --needed --overwrite '*' bash
run pacman -Fy --noconfirm
copy init-image.bash /init-image.bash
run /init-image.bash

Expand Down
3 changes: 3 additions & 0 deletions init-image.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

set -o errexit -o pipefail -o nounset

pacman -Syu --noconfirm
pacman -Fy --noconfirm

packages=(
base
base-devel # makepkg depends on this
Expand Down

0 comments on commit 3db1038

Please sign in to comment.