diff --git a/Dockerfile_Synopsys_DC b/Dockerfile_Synopsys_DC index ea6f42e..d5bbcdb 100644 --- a/Dockerfile_Synopsys_DC +++ b/Dockerfile_Synopsys_DC @@ -54,6 +54,9 @@ RUN ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5 /usr/lib/x86_64-linux-gnu/libti && ln -s /usr/lib/x86_64-linux-gnu/libmng.so.2 /usr/lib/x86_64-linux-gnu/libmng.so.1 \ && update-alternatives --install /bin/sh sh /bin/bash 20 +# WORKAROUND Ubuntu 18.04 does not have terminfo files in /usr/share/terminfo/ +RUN cp -r /lib/terminfo/. /usr/share/terminfo/ + # copy actual tool to be run in this image ARG base_dir=/usr/synopsys ARG tool=syn diff --git a/Dockerfile_Synopsys_ICC b/Dockerfile_Synopsys_ICC index 1858ae0..866973d 100644 --- a/Dockerfile_Synopsys_ICC +++ b/Dockerfile_Synopsys_ICC @@ -48,19 +48,20 @@ RUN sed -i -e "${repo_sed}" /etc/apt/sources.list \ # # WORKAROUND install libpng12-0 package from Xenial, which is removed from Bionic # ref: https://www.linuxuprising.com/2018/05/fix-libpng12-0-missing-in-ubuntu-1804.html -# WORKAROUND link outdated library filename required from Synopsys tools +# WORKAROUND link outdated library files required from Synopsys tools # WORKAROUND set default shell as Bash to avoid error from script included in the tool RUN ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5 /usr/lib/x86_64-linux-gnu/libtiff.so.3 \ && ln -s /usr/lib/x86_64-linux-gnu/libmng.so.2 /usr/lib/x86_64-linux-gnu/libmng.so.1 \ && update-alternatives --install /bin/sh sh /bin/bash 20 +# WORKAROUND Ubuntu 18.04 does not have terminfo files in /usr/share/terminfo/ +RUN cp -r /lib/terminfo/. /usr/share/terminfo/ + # copy actual tool to be run in this image ARG base_dir=/usr/synopsys ARG tool=ic_compiler ARG version=N-2017.09 -ARG default_command=icc_shell - # just copy installed package from intermediate image COPY --from=installer ${base_dir}/ ${base_dir}/ @@ -69,5 +70,5 @@ COPY --from=installer ${base_dir}/ ${base_dir}/ ENV PATH ${base_dir}/${tool}/${version}/bin:$PATH # default command when running this image -CMD "${default_command}" +CMD "icc_shell" diff --git a/Dockerfile_Synopsys_VCS b/Dockerfile_Synopsys_VCS index 06bff3f..eefb156 100644 --- a/Dockerfile_Synopsys_VCS +++ b/Dockerfile_Synopsys_VCS @@ -56,13 +56,15 @@ RUN ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5 /usr/lib/x86_64-linux-gnu/libti && ln -s /usr/lib/x86_64-linux-gnu/libmng.so.2 /usr/lib/x86_64-linux-gnu/libmng.so.1 \ && update-alternatives --install /bin/sh sh /bin/bash 20 +# WORKAROUND Ubuntu 18.04 does not have terminfo files in /usr/share/terminfo/ +RUN cp -r /lib/terminfo/. /usr/share/terminfo/ + # copy actual tool to be run in this image ARG base_dir=/usr/synopsys ARG tool=vcs ARG version=N-2017.12 - # just copy installed package from intermediate image COPY --from=installer ${base_dir}/ ${base_dir}/