-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.ps1
71 lines (64 loc) · 2.86 KB
/
build.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
$ALPINE_VERSION="3.17.2"
$GCC_VERSION="12.2.0"
$CMAKE_VERSION="3.25.2"
$OPENCV_VERSION="4.7.0"
$CATCH_VERSION="v3.3.1"
docker build -t morfin/myalpine:$($ALPINE_VERSION)_CMake_$($CMAKE_VERSION) `
--build-arg ALPINE_VERSION=$ALPINE_VERSION `
--build-arg GCC_VERSION=$GCC_VERSION `
--build-arg CMAKE_VERSION=$CMAKE_VERSION `
.
docker build -t morfin/myalpine:$($ALPINE_VERSION)_CMake_$($CMAKE_VERSION)_OpenCV_$($OPENCV_VERSION)_Release `
--build-arg ALPINE_VERSION=$ALPINE_VERSION `
--build-arg GCC_VERSION=$GCC_VERSION `
--build-arg CMAKE_VERSION=$CMAKE_VERSION `
--build-arg BUILD_TYPE=RELEASE `
--build-arg BUILD_OPENCV=ON `
--build-arg OPENCV_VERSION=$OPENCV_VERSION `
.
docker build -t morfin/myalpine:$($ALPINE_VERSION)_CMake_$($CMAKE_VERSION)_OpenCV_$($OPENCV_VERSION)_Catch_$($CATCH_VERSION)_Release `
--build-arg ALPINE_VERSION=$ALPINE_VERSION `
--build-arg GCC_VERSION=$GCC_VERSION `
--build-arg CMAKE_VERSION=$CMAKE_VERSION `
--build-arg BUILD_TYPE=RELEASE `
--build-arg BUILD_OPENCV=ON `
--build-arg OPENCV_VERSION=$OPENCV_VERSION `
--build-arg BUILD_CATCH=ON `
--build-arg CATCH_VERSION=$CATCH_VERSION `
.
docker build -t morfin/myalpine:$($ALPINE_VERSION)_CMake_$($CMAKE_VERSION)_OpenCV_$($OPENCV_VERSION)_Debug `
--build-arg ALPINE_VERSION=$ALPINE_VERSION `
--build-arg GCC_VERSION=$GCC_VERSION `
--build-arg CMAKE_VERSION=$CMAKE_VERSION `
--build-arg BUILD_TYPE=DEBUG `
--build-arg BUILD_OPENCV=ON `
--build-arg OPENCV_VERSION=$OPENCV_VERSION `
.
docker build -t morfin/myalpine:$($ALPINE_VERSION)_CMake_$($CMAKE_VERSION)_OpenCV_$($OPENCV_VERSION)_Catch_$($CATCH_VERSION)_Debug `
--build-arg ALPINE_VERSION=$ALPINE_VERSION `
--build-arg GCC_VERSION=$GCC_VERSION `
--build-arg CMAKE_VERSION=$CMAKE_VERSION `
--build-arg BUILD_TYPE=DEBUG `
--build-arg BUILD_OPENCV=ON `
--build-arg OPENCV_VERSION=$OPENCV_VERSION `
--build-arg BUILD_CATCH=ON `
--build-arg CATCH_VERSION=$CATCH_VERSION `
.
docker build -t morfin/myalpine:$($ALPINE_VERSION)_CMake_$($CMAKE_VERSION)_OpenCV_$($OPENCV_VERSION)_Release_Debug `
--build-arg ALPINE_VERSION=$ALPINE_VERSION `
--build-arg GCC_VERSION=$GCC_VERSION `
--build-arg CMAKE_VERSION=$CMAKE_VERSION `
--build-arg BUILD_TYPE=RELEASE_DEBUG `
--build-arg BUILD_OPENCV=ON `
--build-arg OPENCV_VERSION=$OPENCV_VERSION `
.
docker build -t morfin/myalpine:$($ALPINE_VERSION)_CMake_$($CMAKE_VERSION)_OpenCV_$($OPENCV_VERSION)_Catch_$($CATCH_VERSION)_Release_Debug `
--build-arg ALPINE_VERSION=$ALPINE_VERSION `
--build-arg GCC_VERSION=$GCC_VERSION `
--build-arg CMAKE_VERSION=$CMAKE_VERSION `
--build-arg BUILD_TYPE=RELEASE_DEBUG `
--build-arg BUILD_OPENCV=ON `
--build-arg OPENCV_VERSION=$OPENCV_VERSION `
--build-arg BUILD_CATCH=ON `
--build-arg CATCH_VERSION=$CATCH_VERSION `
.