File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,8 @@ FROM redisfab/redisedgevision-${OSNICK}:0.2.0
1111ENV LD_PRELOAD /usr/lib/aarch64-linux-gnu/libgomp.so.1
1212ENV 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
2117WORKDIR /app
2218ADD . /app
Original file line number Diff line number Diff line change 11FROM 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
1010ENV LD_PRELOAD /usr/lib/aarch64-linux-gnu/libgomp.so.1
1111
1212RUN 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
1916RUN pip install redis==3.2.1
2017
You can’t perform that action at this time.
0 commit comments