diff --git a/linux_docker_resources/Dockerfile b/linux_docker_resources/Dockerfile index a21fbdf6b..ad0cb5943 100644 --- a/linux_docker_resources/Dockerfile +++ b/linux_docker_resources/Dockerfile @@ -42,9 +42,9 @@ RUN pip3 install -U setuptools pip virtualenv RUN apt-get update && apt-get install --no-install-recommends -y gcovr # Install the OpenSplice binary from the OSRF repositories. -RUN if test ${PLATFORM} = x86; then apt-get update && apt-get install --no-install-recommends -y libopensplice67=6.7.0+osrf2-2~xenial; fi +RUN if test \( ${PLATFORM} = arm -o ${PLATFORM} = x86 \) ; then apt-get update && apt-get install --no-install-recommends -y libopensplice67=6.7.0+osrf2-2~xenial; fi # Update default domain id. -RUN if test ${PLATFORM} = x86; then sed -i "s/0<\/Id>/108<\/Id>/" /usr/etc/opensplice/config/ospl.xml; fi +RUN if test \( ${PLATFORM} = arm -o ${PLATFORM} = x86 \) ; then sed -i "s/0<\/Id>/108<\/Id>/" /usr/etc/opensplice/config/ospl.xml; fi # Install the RTI dependencies. RUN if test ${PLATFORM} = x86; then apt-get update && apt-get install --no-install-recommends -y default-jre-headless; fi