2021-10-21 15:18:35 +02:00
# INSTALLS OPTIONAL PACKAGES AND DRIVERS IN DOCKER IMAGES
2021-12-12 20:14:07 +01:00
# Maintainer: Michael Mayer <hello@photoprism.app>
2021-10-21 15:18:35 +02:00
2022-03-23 08:33:44 +01:00
export PATH = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/scripts"
2022-03-23 08:16:01 +01:00
2022-02-25 16:33:46 +01:00
intel-graphics : gpu
install-intel-graphics : gpu
install-davfs : davfs
tensorflow-amd64-cpu : tensorflow
tensorflow-amd64-avx : tensorflow
tensorflow-amd64-avx2 : tensorflow
apt-cleanup : clean
apt-upgrade : update
update :
2022-03-16 19:09:53 +01:00
/usr/bin/apt-get update
/usr/bin/apt-get -qq dist-upgrade
2022-02-25 16:33:46 +01:00
clean :
2022-03-16 19:09:53 +01:00
/usr/bin/apt-get -y autoremove
/usr/bin/apt-get -y autoclean
/bin/rm -rf /var/lib/apt/lists/*
2022-02-25 16:33:46 +01:00
gpu :
2022-03-11 09:50:24 +01:00
/scripts/install-gpu.sh
2022-02-25 16:33:46 +01:00
tensorflow :
2022-03-11 09:50:24 +01:00
/scripts/install-tensorflow.sh auto
2022-02-25 16:33:46 +01:00
davfs :
2022-03-11 09:50:24 +01:00
/scripts/install-davfs.sh
2022-03-18 11:07:19 +01:00
nano : clitools
clitools :
2022-03-16 19:09:53 +01:00
/usr/bin/apt-get update
2022-03-18 11:07:19 +01:00
@/usr/bin/apt-get -qq install zsh nano >/dev/null 2>& 1 && echo "init: successfully installed zsh and nano" || echo "init: packages zsh and nano not available for installation"
@/usr/bin/apt-get -qq install exa duf >/dev/null 2>& 1 && echo "init: successfully installed exa and duf" || echo "init: packages exa and duf not available for installation"
2021-10-21 15:18:35 +02:00
2022-03-18 11:07:19 +01:00
.PHONY : update apt -upgrade clean apt -cleanup gpu tensorflow davfs \
2022-03-02 10:30:07 +01:00
tensorflow-amd64-cpu tensorflow-amd64-avx tensorflow-amd64-avx2 \
2022-03-18 11:07:19 +01:00
intel-graphics install-intel-graphics install-davfs nano clitools;