diff --git a/Dockerfile b/Dockerfile index 020003c3..18570781 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,8 @@ RUN apt update \ && rm -rf /var/lib/apt/lists/* \ && pip3 install simplejson pystache +RUN dpkg -i $SRC_DIR/microxrcedds_agent/debs/*.deb + RUN mkdir -p /usr/local/lib \ && mkdir -p /usr/local/bin diff --git a/debs/chronyc_4.2-r0_amd64.deb b/debs/chronyc_4.2-r0_amd64.deb new file mode 100644 index 00000000..6c91dbc3 Binary files /dev/null and b/debs/chronyc_4.2-r0_amd64.deb differ diff --git a/debs/libedit0_20210910-3.1-r0_amd64.deb b/debs/libedit0_20210910-3.1-r0_amd64.deb new file mode 100644 index 00000000..7c323e3f Binary files /dev/null and b/debs/libedit0_20210910-3.1-r0_amd64.deb differ diff --git a/debs/libncurses5_6.3+20220423-r0_amd64.deb b/debs/libncurses5_6.3+20220423-r0_amd64.deb new file mode 100644 index 00000000..d5ea0d6e Binary files /dev/null and b/debs/libncurses5_6.3+20220423-r0_amd64.deb differ diff --git a/debs/ncurses_6.3+20220423-r0_amd64.deb b/debs/ncurses_6.3+20220423-r0_amd64.deb new file mode 100644 index 00000000..ff4ba9cc Binary files /dev/null and b/debs/ncurses_6.3+20220423-r0_amd64.deb differ diff --git a/entrypoint.sh b/entrypoint.sh index bb1c8f4e..1ae8f13a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,7 @@ #!/bin/bash -e +# Start chrony client and wait for timesync before doing anything. +/usr/bin/chronyc waitsync if [ "$FASTRTPS_DEFAULT_PROFILES_FILE" != "" ]; then cp $FASTRTPS_DEFAULT_PROFILES_FILE /default_profiles.xml