Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cpplib
Commits
1ec62b5e
Commit
1ec62b5e
authored
6 months ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
PIPELINE: Prepend venv to PATH env
parent
0b9fd2cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!61
Release 0.3.0
,
!57
Fix deprecations + updates
Pipeline
#55335
passed with warnings
6 months ago
Stage: info
Stage: setup
Stage: test
Stage: deploy
Pipeline: caosdb-cppinttest
#55338
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.docker/Dockerfile
+1
-10
1 addition, 10 deletions
.docker/Dockerfile
with
1 addition
and
10 deletions
.docker/Dockerfile
+
1
−
10
View file @
1ec62b5e
FROM
debian:bookworm
# change to bash default for gitlab runner
RUN
unlink
/bin/sh
RUN
ln
-s
/bin/bash /bin/sh
RUN
apt-get update
RUN
apt-get
install
-y
cmake
RUN
apt-get
install
-y
lcov
...
...
@@ -13,11 +9,8 @@ RUN apt-get install -y python3-pip python3-venv
RUN
apt-get
install
-y
git
RUN
apt-get
install
-y
curl zip unzip
tar
RUN
apt-get
install
-y
perl pkg-config
RUN
apt-get
install
-y
openjdk-17-jdk-headless
WORKDIR
/
RUN
python3
-m
venv ./venv
RUN
.
./venv/bin/activate
...
...
@@ -27,9 +20,7 @@ COPY requirements.txt build-requirements.txt
RUN
./venv/bin/pip
install
-r
build-requirements.txt
RUN
./venv/bin/conan profile detect
# add venv with conan to .bashrc
RUN
echo
"source /venv/bin/activate"
>>
/root/.bashrc
ENV
PATH=/venv/bin:$PATH
COPY
. /libcaosdb/
WORKDIR
/libcaosdb
...
...
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