Skip to content

Commit

Permalink
build(py): Fix dockerfile for python library (#2825)
Browse files Browse the repository at this point in the history
Fixes a syntax error in the Dockerfile for python library builds
introduced in #2785.
  • Loading branch information
jan-auer committed Dec 7, 2023
1 parent ba61aeb commit a2db871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN yum -y update \
&& ln -s "/usr/${TARGET}-linux-gnu/sys-root/usr/lib64/libgcc_s.so.1" "/usr/${TARGET}-linux-gnu/sys-root/usr/lib64/libgcc_s.so"; \
elif [ ${TARGET} == "i686" ]; then \
yum install -t -y glibc-devel.i686 libgcc.i686 \
&& if ! [ -f /usr/lib/libatomic.so ]; then ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so; fi; \
&& if ! [ -f /usr/lib/libatomic.so ]; then ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so; fi \
&& RG=$(find /opt -type f -executable -name gcc) \
&& if ! [ -z $RG ]; then ln -s $RG /usr/bin/i686-linux-gnu-gcc; else ln -s /usr/bin/gcc /usr/bin/i686-linux-gnu-gcc; fi; \
fi \
Expand Down

0 comments on commit a2db871

Please sign in to comment.