Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PeTrack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pedestrian Dynamics Empiricism
PeTrack
Commits
8ad91f16
Commit
8ad91f16
authored
2 years ago
by
Schrödter, Tobias
Browse files
Options
Downloads
Patches
Plain Diff
Update docker file to allow debugging
parent
ed7144af
No related branches found
No related tags found
1 merge request
!248
Update docker file to allow debugging
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
container/ubuntu/Dockerfile
+20
-5
20 additions, 5 deletions
container/ubuntu/Dockerfile
with
20 additions
and
5 deletions
container/ubuntu/Dockerfile
+
20
−
5
View file @
8ad91f16
...
@@ -3,23 +3,36 @@ FROM ubuntu:22.04
...
@@ -3,23 +3,36 @@ FROM ubuntu:22.04
ARG
DEBIAN_FRONTEND=noninteractive
ARG
DEBIAN_FRONTEND=noninteractive
# Update the repositories
# Update the repositories
RUN
apt-get update
&&
apt-get
install
-y
software-properties-common wget
RUN
apt-get update
&&
apt-get
-y
install
tzdata
# Install the needed tools
# Install the needed tools
RUN
echo
"deb [trusted=yes] http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main"
|
tee
/etc/apt/sources.list.d/clang.list
RUN
echo
"deb [trusted=yes] http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main"
|
tee
/etc/apt/sources.list.d/clang.list
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
install
-y
\
apt-get
install
-y
\
software-properties-common
\
build-essential
\
wget
\
wget
\
git
\
gcc
\
g++
\
gdb
\
clang
\
make
\
make
\
ninja-build
\
ninja-build
\
cmake
\
cmake
\
autoconf
\
automake
\
libtool
\
valgrind
\
parallel
\
parallel
\
rsync
\
tar
\
mesa-common-dev
\
mesa-common-dev
\
libglu1-mesa-dev
\
libglu1-mesa-dev
\
clang-14
\
clang-14
\
clang-format-14
clang-format-14
\
&&
apt-get clean
# Set clang-14 as default compiler
# Set clang-14 as default compiler
RUN
update-alternatives
--install
/usr/bin/c++ c++ /usr/bin/clang++-14 100
&&
\
RUN
update-alternatives
--install
/usr/bin/c++ c++ /usr/bin/clang++-14 100
&&
\
...
@@ -27,8 +40,10 @@ RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-14 100 &&\
...
@@ -27,8 +40,10 @@ RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-14 100 &&\
# Install python
# Install python
RUN
apt-get update
&&
apt-get
install
-y
\
RUN
apt-get update
&&
apt-get
install
-y
\
python3
\
python3
\
python3-pip
python3-pip
\
python3-dev
\
&&
apt-get clean
RUN
pip
install
pytest aqtinstall
RUN
pip
install
pytest aqtinstall
...
...
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