mirror of https://github.com/f4exb/sdrangel.git
Corrected main gitignore so that build.sh scripts for Docker are added to git
This commit is contained in:
parent
61ab300628
commit
9411757515
|
@ -1,5 +1,5 @@
|
||||||
CMakeLists.txt.user*
|
CMakeLists.txt.user*
|
||||||
build*
|
build*/
|
||||||
qtbuild/*
|
qtbuild/*
|
||||||
sdriq/*
|
sdriq/*
|
||||||
presets/*
|
presets/*
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
IMAGE_NAME=sdrangel/bionic:base
|
||||||
|
docker build -t ${IMAGE_NAME} .
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
IMAGE_NAME=sdrangel/bionic:gui
|
||||||
|
docker build -t ${IMAGE_NAME} .
|
|
@ -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} .
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
IMAGE_NAME=sdrangel/bionic:vanilla
|
||||||
|
docker build -t ${IMAGE_NAME} .
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
IMAGE_NAME=sdrangel/bionic:server
|
||||||
|
docker build -t ${IMAGE_NAME} .
|
Loading…
Reference in New Issue