-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile.cuopt
More file actions
34 lines (28 loc) · 1.01 KB
/
Dockerfile.cuopt
File metadata and controls
34 lines (28 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Ref: https://docs.nvidia.com/cuopt/user-guide/latest/cuopt-server/quick-start.html#container-from-docker-hub
# TODO: Currently using nightly release due to upstream issue.
# After next stable release, change the base image to `nvidia/cuopt:latest-cuda13.0-py3.13`
# Ref: https://github.com/NVIDIA/cuopt/issues/960
FROM nvidia/cuopt:26.4.0a-cuda13.0-py3.13
WORKDIR /app
# Common Tools
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
git \
gnupg \
jq \
ripgrep \
unzip \
&& rm -rf /var/lib/apt/lists/*
COPY core/requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
# Ref: https://github.com/j3soon/dockerfile-fragments/blob/main/codex/Dockerfile
# Install Codex CLI
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash -
RUN apt-get update && apt-get install -y \
nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g @openai/codex
# Install Bun
RUN curl -fsSL https://bun.sh/install | bash
ENTRYPOINT ["/bin/bash"]