diff --git a/linux_docker_resources/Dockerfile b/linux_docker_resources/Dockerfile index d3a15aa46..6c73d5b29 100644 --- a/linux_docker_resources/Dockerfile +++ b/linux_docker_resources/Dockerfile @@ -74,9 +74,9 @@ RUN if test ${COMPILE_WITH_CLANG} = true; then apt-get update && apt-get install RUN apt-get update && apt-get install --no-install-recommends -y gcovr # Install the OpenSplice binary from the OSRF repositories. -RUN apt-get update && apt-get install --no-install-recommends -y libopensplice69=6.9.190705+osrf1-1~$UBUNTU_DISTRO +RUN if test ${UBUNTU_DISTRO} != focal; then apt-get update && apt-get install --no-install-recommends -y libopensplice69=6.9.190705+osrf1-1~$UBUNTU_DISTRO; fi # Update default domain id. -RUN sed -i "s/0<\/Id>/108<\/Id>/" /usr/etc/opensplice/config/ospl.xml +RUN if test ${UBUNTU_DISTRO} != focal; then sed -i "s/0<\/Id>/108<\/Id>/" /usr/etc/opensplice/config/ospl.xml; fi # Install the Connext binary from the OSRF repositories. RUN if test \( ${PLATFORM} = x86 -a ${INSTALL_CONNEXT_DEBS} = true \); then apt-get update && RTI_NC_LICENSE_ACCEPTED=yes apt-get install -y rti-connext-dds-5.3.1; fi