1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

Corrected main gitignore so that build.sh scripts for Docker are added to git

This commit is contained in:
f4exb 2019-03-04 12:01:22 +01:00
parent 61ab300628
commit 9411757515
6 changed files with 29 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
CMakeLists.txt.user*
build*
build*/
qtbuild/*
sdriq/*
presets/*

4
docker/base/build.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
IMAGE_NAME=sdrangel/bionic:base
docker build -t ${IMAGE_NAME} .

4
docker/base/gui/build.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
IMAGE_NAME=sdrangel/bionic:gui
docker build -t ${IMAGE_NAME} .

View File

@ -0,0 +1,12 @@
#!/bin/sh
IMAGE_NAME=sdrangel/bionic:linux_nvidia
NVIDIA_VER=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader) #410.78
NVIDIA_DRIVER=NVIDIA-Linux-x86_64-${NVIDIA_VER}.run # path to nvidia driver
if [ ! -f ${NVIDIA_DRIVER} ]; then
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/${NVIDIA_VER}/NVIDIA-Linux-x86_64-${NVIDIA_VER}.run
cp ${NVIDIA_DRIVER} NVIDIA-DRIVER.run
fi
docker build -t ${IMAGE_NAME} .

View File

@ -0,0 +1,4 @@
#!/bin/sh
IMAGE_NAME=sdrangel/bionic:vanilla
docker build -t ${IMAGE_NAME} .

View File

@ -0,0 +1,4 @@
#!/bin/sh
IMAGE_NAME=sdrangel/bionic:server
docker build -t ${IMAGE_NAME} .