File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ Preliminaries
2+ ```
3+ Ensure nvidia-smi is work on your host machine.
4+ ```
5+ You also need to make some changes in your Dockerfile && docker-compose.yml.
6+ ```
7+ PREBUILD a docker image that have external dependencies
8+
9+ # 1stly, to build zeroth-bot-sim:v0
10+ # FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04
11+
12+ # COPY sources.list /etc/apt/sources.list
13+
14+ # RUN mkdir /root/.pip
15+ # COPY pip.conf /root/.pip/pip.conf
16+
17+ # RUN apt install -y wget zlib1g-dev libssl-dev libncurses5-dev libsqlite3-dev libreadline-dev libtk8.6 libgdm-dev libdb4o-cil-dev libpcap-dev
18+ # RUN wget https://mirrors.huaweicloud.com/python/3.8.19/Python-3.8.19.tar.xz && tar -xvf Python-3.8.19.tar.xz
19+
20+ # WORKDIR /root/Python-3.8.19
21+ # RUN ./configure --prefix=/usr/local && make && make install
22+
23+ # WORKDIR /usr/local/bin/
24+ # RUN ln -s pip3 pip
25+
26+ # WORKDIR /app/sim/
27+ # RUN make install-dev
28+
29+ # RUN wget https://developer.nvidia.com/isaac-gym-preview-4
30+ # # RUN tar -xvf
31+ # RUN make install-third-party-external
32+
33+ ```
34+
35+ Then,
36+
137Terminal1:
238```
339docker-compose up --build
You can’t perform that action at this time.
0 commit comments