Skip to content

Commit 8b8795c

Browse files
authored
it is already a long day...
- remove unnecessary workaround for Debian Bullseye
1 parent 19bb12c commit 8b8795c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ CMD bash -c "cd ${DATA_DIR} && \
4141
git checkout v${LIBNVIDIA_VERSION} && \
4242
sed -i '/if (syscall(SYS_pivot_root, \".\", \".\") < 0)/,+1 d' ${DATA_DIR}/libnvidia-container/src/nvc_ldcache.c && \
4343
sed -i '/if (umount2(\".\", MNT_DETACH) < 0)/,+1 d' ${DATA_DIR}/libnvidia-container/src/nvc_ldcache.c && \
44-
make GO111MODULE=auto || true; \
45-
mv ${DATA_DIR}/libnvidia-container/deps/src/elftoolchain-0.7.1/libelf/'name libelf.so.1' ${DATA_DIR}/libnvidia-container/deps/src/elftoolchain-0.7.1/libelf/libelf.so.1 && \
4644
DESTDIR=${DATA_DIR}/libnvidia-container-${LIBNVIDIA_VERSION} make LIB_VERSION=${LIBNVIDIA_VERSION} LIB_TAG=${LIBNVIDIA_VERSION} install prefix=/usr GO111MODULE=auto && \
4745
mkdir -p ${DATA_DIR}/libnvidia-container-${LIBNVIDIA_VERSION}/etc/docker && \
4846
cp /opt/daemon.json ${DATA_DIR}/libnvidia-container-${LIBNVIDIA_VERSION}/etc/docker/daemon.json && \

0 commit comments

Comments
 (0)