Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cppinttest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cppinttest
Commits
788a8a14
Commit
788a8a14
authored
11 months ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
CHG: Update Dockerfile for Conan 2
parent
2f207051
No related branches found
No related tags found
3 merge requests
!41
Release 0.3.0
,
!35
Adapt for Conan 2
,
!34
Adapt for Conan 2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.docker/Dockerfile
+3
-8
3 additions, 8 deletions
.docker/Dockerfile
with
3 additions
and
8 deletions
.docker/Dockerfile
+
3
−
8
View file @
788a8a14
...
@@ -5,9 +5,7 @@ COPY .docker/wait-for-it.sh /wait-for-it.sh
...
@@ -5,9 +5,7 @@ COPY .docker/wait-for-it.sh /wait-for-it.sh
# build and install caosdb-cpplib
# build and install caosdb-cpplib
WORKDIR
/libcaosdb/
WORKDIR
/libcaosdb/
RUN
mkdir
build
RUN
conan create
-s
"compiler.libcxx=libstdc++11"
-o
caosdb/
*
:build_acm
=
True .
WORKDIR
/libcaosdb/build
RUN
conan create
-s
"compiler.libcxx=libstdc++11"
-o
caosdb:build_acm
=
True ..
"caosdb/
$(
conan inspect
--raw
version ..
)
@_/_"
COPY
. /caosdb-cppinttest
COPY
. /caosdb-cppinttest
WORKDIR
/caosdb-cppinttest
WORKDIR
/caosdb-cppinttest
...
@@ -17,10 +15,7 @@ COPY .docker/caosdb-client.json /caosdb-client.json
...
@@ -17,10 +15,7 @@ COPY .docker/caosdb-client.json /caosdb-client.json
# Build and run tests.
# Build and run tests.
# If no other command is given to the Docker image
# If no other command is given to the Docker image
CMD
mkdir build && \
CMD
make build-release &&\
cd build && \
cd build/Release &&\
conan install .. -s "compiler.libcxx=libstdc++11" && \
cmake .. && \
cmake --build . && \
/wait-for-it.sh caosdb-server:10443 -t 500 -- \
/wait-for-it.sh caosdb-server:10443 -t 500 -- \
ctest -V
ctest -V
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