mirror of
https://github.com/luzifer-docker/code-server.git
synced 2024-12-20 13:11:17 +00:00
Strip down image
by removing non-required tech from base image Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
01c61e7a62
commit
bc61b8a340
1 changed files with 8 additions and 13 deletions
11
build.sh
11
build.sh
|
@ -1,18 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
build_packages=()
|
build_packages=(
|
||||||
|
tar
|
||||||
|
)
|
||||||
install_packages=(
|
install_packages=(
|
||||||
curl
|
curl
|
||||||
git
|
git
|
||||||
go
|
|
||||||
just
|
|
||||||
make
|
|
||||||
openssh
|
|
||||||
nodejs
|
|
||||||
npm
|
|
||||||
sudo
|
sudo
|
||||||
tar
|
|
||||||
)
|
)
|
||||||
|
|
||||||
pacman -Sy --noconfirm "${build_packages[@]}" "${install_packages[@]}"
|
pacman -Sy --noconfirm "${build_packages[@]}" "${install_packages[@]}"
|
||||||
|
|
Loading…
Reference in a new issue