mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Corrected main gitignore so that build.sh scripts for Docker are added to git
This commit is contained in:
parent
61ab300628
commit
9411757515
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
|||||||
CMakeLists.txt.user*
|
CMakeLists.txt.user*
|
||||||
build*
|
build*/
|
||||||
qtbuild/*
|
qtbuild/*
|
||||||
sdriq/*
|
sdriq/*
|
||||||
presets/*
|
presets/*
|
||||||
|
4
docker/base/build.sh
Executable file
4
docker/base/build.sh
Executable 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
4
docker/base/gui/build.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
IMAGE_NAME=sdrangel/bionic:gui
|
||||||
|
docker build -t ${IMAGE_NAME} .
|
12
docker/base/gui/linux/nvidia/build.sh
Executable file
12
docker/base/gui/linux/nvidia/build.sh
Executable 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} .
|
4
docker/base/gui/vanilla/build.sh
Executable file
4
docker/base/gui/vanilla/build.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
IMAGE_NAME=sdrangel/bionic:vanilla
|
||||||
|
docker build -t ${IMAGE_NAME} .
|
4
docker/base/server/build.sh
Normal file
4
docker/base/server/build.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
IMAGE_NAME=sdrangel/bionic:server
|
||||||
|
docker build -t ${IMAGE_NAME} .
|
Loading…
Reference in New Issue
Block a user