Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
containerize
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Container Registry
Operate
Terraform modules
Monitor
Service Desk
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
Studio R215
containerize
Commits
e92b396a
Commit
e92b396a
authored
5 months ago
by
Sebastian Karius
Browse files
Options
Downloads
Patches
Plain Diff
add coder container for med
parent
42b7d198
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+6
-0
6 additions, 0 deletions
docker-compose.yml
docker/coder-med/Dockerfile
+54
-0
54 additions, 0 deletions
docker/coder-med/Dockerfile
with
60 additions
and
0 deletions
docker-compose.yml
+
6
−
0
View file @
e92b396a
...
...
@@ -29,6 +29,12 @@ services:
dockerfile
:
Dockerfile
context
:
./docker/coder-ubuntu_22-python
coder-med
:
image
:
${CI_REGISTRY}/studio-r215/containerize/coder-med:24
build
:
dockerfile
:
Dockerfile
context
:
./docker/coder-med
libre-translate-cuda
:
image
:
${CI_REGISTRY}/studio-r215/containerize/libre-translate:latest-cuda
build
:
...
...
This diff is collapsed.
Click to expand it.
docker/coder-med/Dockerfile
0 → 100644
+
54
−
0
View file @
e92b396a
FROM
nvidia/cuda:12.6.2-devel-ubuntu24.04
LABEL
authors="sebastian"
ENV
DEBIAN_FRONTEND=noninteractive
RUN
apt-get update
&&
apt-get upgrade
-y
# install basic tools
RUN
apt-get
install
-y
git wget curl
# install python, pip and venv
RUN
apt-get
install
-y
python3 python3-pip python3-venv
# install pipx
ENV
TZ=Europe/Berlin
RUN
apt-get
install
-y
pipx
RUN
pipx ensurepath
# install poetry
ENV
PIPX_BIN_DIR="/usr/local/bin"
RUN
pipx
install
poetry
RUN
poetry completions bash
>>
~/.bash_completion
RUN
PIPX_BIN_DIR
=
"~/.local/bin"
# install conda
ENV
PATH="${PATH}:/opt/conda/bin"
RUN
wget
--quiet
https://repo.anaconda.com/miniconda/Miniconda3-py312_24.4.0-0-Linux-x86_64.sh
RUN
bash Miniconda3-py312_24.4.0-0-Linux-x86_64.sh
-b
-p
/opt/conda
RUN
rm
Miniconda3-py312_24.4.0-0-Linux-x86_64.sh
# prepare for coder usage
RUN
apt-get
install
-y
\
htop
\
jq
\
locales
\
man
\
software-properties-common
\
sudo
\
systemd
\
systemd-sysv
\
unzip
\
rsync
\
vim
\
nano
RUN
useradd
-ms
/bin/bash coder
RUN
usermod
-aG
sudo
coder
# clean up
RUN
apt-get clean
RUN
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
# switch to coder user
USER
coder
WORKDIR
/home/coder
\ No newline at end of file
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