Skip to content

Commit 3ea227a

Browse files
committed
docker: add strip command in docker file for OR
Signed-off-by: habibayassin <[email protected]>
1 parent fb5eef4 commit 3ea227a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/Dockerfile.dev

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ COPY InstallerOpenROAD.sh \
1414

1515
RUN ./DependencyInstaller.sh \
1616
&& rm -rf /tmp/installer
17+
18+
ARG fromImage
19+
20+
RUN echo "$fromImage" | grep -q "ubuntu" && \
21+
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so || \
22+
echo "Skipping strip command as fromImage does not contain 'ubuntu'"

0 commit comments

Comments
 (0)