Skip to content

Commit 5436ca8

Browse files
committed
Update Jetson Dockerfiles
1 parent 39fe29a commit 5436ca8

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

app/Dockerfile.jetson

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,8 @@ FROM redisfab/redisedgevision-${OSNICK}:0.2.0
1111
ENV LD_PRELOAD /usr/lib/aarch64-linux-gnu/libgomp.so.1
1212
ENV DEBIAN_FRONTEND=noninteractive
1313

14-
RUN apt-get -qq update
15-
16-
RUN set -ex ;\
17-
apt-get install -y wget python3-distutils patch ;\
18-
wget -q https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py ;\
19-
python3 /tmp/get-pip.py
14+
RUN apt-get -qq update && apt-get install -qqy wget python3-distutils patch
15+
RUN wget -q https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp/get-pip.py
2016

2117
WORKDIR /app
2218
ADD . /app

camera/Dockerfile.jetson

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM nvcr.io/nvidia/l4t-base:r32.5.0
22

33
# This is due on the following error on ARMv8:
4-
# /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
4+
# /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
55
# Something is exausting TLS, causing libgomp to fail. Preloading it as a workaround helps.
66
# ENV LD_PRELOAD /usr/lib/aarch64-linux-gnu/libgomp.so.1
77

@@ -10,11 +10,8 @@ ENV LD_LIBRARY_PATH=/usr/lib/aarch64-linux-gnu:$LD_LIBRARY_PATH
1010
ENV LD_PRELOAD /usr/lib/aarch64-linux-gnu/libgomp.so.1
1111

1212
RUN apt-get -qq update && apt-get upgrade -y
13-
14-
RUN set -x; \
15-
apt-get install -y curl patch; \
16-
curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py ;\
17-
python3 /tmp/get-pip.py
13+
RUN apt-get install -qqy curl patch
14+
RUN curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && python3 /tmp/get-pip.py
1815

1916
RUN pip install redis==3.2.1
2017

0 commit comments

Comments
 (0)