Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
robofish
docker
Commits
c677ca8b
Commit
c677ca8b
authored
6 years ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
Use new Must-Run function
parent
56717dab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
windows/Dockerfile
+8
-13
8 additions, 13 deletions
windows/Dockerfile
with
8 additions
and
13 deletions
windows/Dockerfile
+
8
−
13
View file @
c677ca8b
...
...
@@ -64,9 +64,10 @@ COPY opengl32.dll C:/Windows/System32/opengl32.dll
COPY
glu32.dll C:/Windows/System32/glu32.dll
COPY
ddraw.dll C:/Windows/System32/ddraw.dll
COPY
nvcuda.dll C:/Windows/System32/nvcuda.dll
RUN
cd
$Env
:VCPKG_DIR
;
\
RUN
.
/Library.ps1
;
\
cd
$Env
:VCPKG_DIR
;
\
$vcpkg_triplet
=
'x64-windows-14.13'
;
\
./vcpkg
install
\
Must-Run
./vcpkg
install
\
zlib:
$vcpkg_triplet
\
libepoxy[egl]:
$vcpkg_triplet
\
glm:
$vcpkg_triplet
\
...
...
@@ -79,18 +80,15 @@ RUN cd $Env:VCPKG_DIR; \
boost-property-tree:
$vcpkg_triplet
\
jsoncpp:
$vcpkg_triplet
\
websocketpp:
$vcpkg_triplet
;
\
if
(!
$?
)
{
exit
1
}
;
\
./vcpkg
install
opencv[ffmpeg,ximea,cuda,opengl]:
$vcpkg_triplet
;
\
if
(!
$?
)
{
exit
1
}
;
\
./vcpkg
install
mxnet[cpp,opencv,cuda,cudnn]:
$vcpkg_triplet
;
\
if
(!
$?
)
{
exit
1
}
;
\
Must-Run ./vcpkg
install
opencv[ffmpeg,ximea,cuda,opengl]:
$vcpkg_triplet
;
\
Must-Run ./vcpkg
install
mxnet[cpp,opencv,cuda,cudnn]:
$vcpkg_triplet
;
\
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flang.dll ./installed/
$vcpkg_triplet
/bin/
;
\
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flangrti.dll ./installed/
$vcpkg_triplet
/bin/
;
\
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/libomp.dll ./installed/
$vcpkg_triplet
/bin/
;
\
[
Environment]::SetEnvironmentVariable
(
'VCPKG_CUDA_TRIPLET'
,
"
\"
$vcpkg_triplet
\"
"
,
[
EnvironmentVariableTarget]::Machine
)
;
\
[
Environment]::SetEnvironmentVariable
(
'VCPKG_CUDA_INSTALL_DIR'
,
"
\"
$Env
:VCPKG_DIR/installed/
$vcpkg_triplet
\"
"
,
[
EnvironmentVariableTarget]::Machine
)
;
\
$vcpkg_triplet
=
'x64-windows-14.15'
;
\
./vcpkg
install
\
Must-Run
./vcpkg
install
\
zlib:
$vcpkg_triplet
\
libepoxy[egl]:
$vcpkg_triplet
\
glm:
$vcpkg_triplet
\
...
...
@@ -103,11 +101,8 @@ RUN cd $Env:VCPKG_DIR; \
boost-property-tree:
$vcpkg_triplet
\
jsoncpp:
$vcpkg_triplet
\
websocketpp:
$vcpkg_triplet
;
\
if
(!
$?
)
{
exit
1
}
;
\
./vcpkg
install
opencv[ffmpeg,ximea,opengl]:
$vcpkg_triplet
;
\
if
(!
$?
)
{
exit
1
}
;
\
./vcpkg
install
mxnet[cpp,opencv]:
$vcpkg_triplet
;
\
if
(!
$?
)
{
exit
1
}
;
\
Must-Run ./vcpkg
install
opencv[ffmpeg,ximea,opengl]:
$vcpkg_triplet
;
\
Must-Run ./vcpkg
install
mxnet[cpp,opencv]:
$vcpkg_triplet
;
\
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flang.dll ./installed/
$vcpkg_triplet
/bin/
;
\
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flangrti.dll ./installed/
$vcpkg_triplet
/bin/
;
\
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/libomp.dll ./installed/
$vcpkg_triplet
/bin/
;
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment