set debian version in config
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
## Configuration
|
||||
export_env FACETTE_VERSION 0.4.0
|
||||
|
||||
## Dependencies
|
||||
apt_install_permanent librrd4 mime-support wget
|
||||
|
||||
## Facette
|
||||
wget https://github.com/facette/facette/releases/download/0.3.0/facette_0.3.0-1.jessie_amd64.deb
|
||||
dpkg -i facette_0.3.0-1.jessie_amd64.deb
|
||||
wget https://github.com/facette/facette/releases/download/$FACETTE_VERSION/facette_$FACETTE_VERSION-1.$DEBIAN_amd64.deb
|
||||
dpkg -i facette_$FACETTE_VERSION-1.$DEBIAN_amd64.deb
|
||||
mkdir -p /var/run/facette
|
||||
ln -s /usr/share/facette /usr/local/share/
|
||||
|
||||
@@ -8,7 +8,7 @@ export_env SDK_URL https://www.dropbox.com/s/wel0xazy2c45pqe/$SDK_BASENAME.zip
|
||||
apt_install_permanent sudo linux-libc-dev
|
||||
|
||||
## Cuda
|
||||
echo 'deb http://deb.debian.org/debian stretch main contrib non-free' >> /etc/apt/sources.list
|
||||
echo 'deb http://deb.debian.org/debian $DEBIAN main contrib non-free' >> /etc/apt/sources.list
|
||||
apt_install_permanent libcuda1 libnvidia-encode1
|
||||
|
||||
## FFmpeg
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Enable multimedia sources in APT
|
||||
echo 'deb http://www.deb-multimedia.org stretch main non-free' >> /etc/apt/sources.list
|
||||
echo 'deb-src http://www.deb-multimedia.org stretch main non-free' >> /etc/apt/sources.list
|
||||
echo 'deb http://www.deb-multimedia.org $DEBIAN main non-free' >> /etc/apt/sources.list
|
||||
echo 'deb-src http://www.deb-multimedia.org $DEBIAN main non-free' >> /etc/apt/sources.list
|
||||
apt_install_permanent deb-multimedia-keyring
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
## Dependencies
|
||||
apt_install_permanent procps
|
||||
|
||||
## MySQL
|
||||
debconf-set-selections <<< 'mariadb-server mariadb-server/root_password password dummy'
|
||||
debconf-set-selections <<< 'mariadb-server mariadbql-server/root_password_again password dummy'
|
||||
apt_install_permanent mariadb-server
|
||||
apt_install_permanent mariadb-server
|
||||
|
||||
## Environment
|
||||
export_env MYSQL_CONFIG /etc/mysql/my.cnf
|
||||
@@ -16,4 +19,4 @@ tee -a $MYSQL_CONFIG <<EOF
|
||||
|
||||
[mysqld]
|
||||
skip-grant-tables
|
||||
EOF
|
||||
EOF
|
||||
|
||||
@@ -15,9 +15,9 @@ echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/02apt-speedup
|
||||
export_env INITRD no
|
||||
|
||||
# Enable sources and backports in APT
|
||||
echo 'deb-src http://httpredir.debian.org/debian/ stretch main' >> /etc/apt/sources.list
|
||||
echo 'deb http://httpredir.debian.org/debian/ stretch-backports main contrib non-free' >> /etc/apt/sources.list
|
||||
echo 'deb-src http://httpredir.debian.org/debian/ stretch-backports main contrib non-free' >> /etc/apt/sources.list
|
||||
echo "deb-src http://deb.debian.org/debian/ $DEBIAN main" >> /etc/apt/sources.list
|
||||
echo "deb http://deb.debian.org/debian/ $DEBIAN-backports main contrib non-free" >> /etc/apt/sources.list
|
||||
echo "deb-src http://deb.debian.org/debian/ $DEBIAN-backports main contrib non-free" >> /etc/apt/sources.list
|
||||
|
||||
## Fix some issues with APT packages
|
||||
# See https://github.com/dotcloud/docker/issues/1024
|
||||
|
||||
Reference in New Issue
Block a user