Mercurial > repos > goeckslab > bagging_tool
annotate Docker/Dockerfile @ 0:e6e9ea0703ef draft default tip
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
| author | goeckslab |
|---|---|
| date | Thu, 19 Jun 2025 23:31:55 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
1 # Base image with PyTorch + CUDA 11.7 + cuDNN 8 |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
2 FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
3 |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
4 USER root |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
5 |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
6 # Install system libs needed by fastparquet |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
7 RUN apt-get update && \ |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
8 apt-get install -y --no-install-recommends \ |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
9 libsnappy-dev \ |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
10 liblz4-dev \ |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
11 && rm -rf /var/lib/apt/lists/* |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
12 |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
13 RUN pip install --upgrade pip && \ |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
14 pip install --no-cache-dir \ |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
15 pandas \ |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
16 fastparquet |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
17 |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
18 RUN useradd -m -s /bin/bash nonrootuser |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
19 |
|
e6e9ea0703ef
planemo upload for repository https://github.com/goeckslab/gleam.git commit 783551569c645073698fce50f1ed9c4605b3e65a
goeckslab
parents:
diff
changeset
|
20 USER nonrootuser |
