File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
- FROM nvcr.io/nvidia/pytorch :20.03-py3
1
+ FROM nvcr.io/nvidia/tensorrt :20.03-py3
2
2
3
- RUN apt update && apt install curl gnupg
4
3
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
5
4
RUN echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
6
5
@@ -10,6 +9,7 @@ RUN ln -s /usr/bin/bazel-3.3.1 /usr/bin/bazel
10
9
RUN pip install pillow==4.3.0
11
10
RUN pip install torch==1.5.1
12
11
RUN pip install torchvision==0.6.1
12
+ RUN pip install notebook
13
13
14
14
COPY . /workspace/TRTorch
15
15
RUN rm /workspace/TRTorch/WORKSPACE
@@ -19,6 +19,12 @@ WORKDIR /workspace/TRTorch
19
19
RUN bazel build //:libtrtorch --compilation_mode opt
20
20
21
21
WORKDIR /workspace/TRTorch/py
22
+
23
+ # Locale is not set by default
24
+ RUN apt update && apt install -y locales && locale-gen en_US.UTF-8
25
+ ENV LANG en_US.UTF-8
26
+ ENV LANGUAGE en_US:en
27
+ ENV LC_ALL en_US.UTF-8
22
28
RUN python3 setup.py install
23
29
24
- WORKDIR /workspace/TRTorch/notebooks
30
+ WORKDIR /workspace/TRTorch/notebooks
You can’t perform that action at this time.
0 commit comments