From 181753234c428e7dc0d32ec90a2df52185ff2652 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Mon, 8 Nov 2021 09:46:41 -0500 Subject: [PATCH] Adding a dockerfile for a doxygen builder image (#11529) --- .../images/chip-build-doxygen/Dockerfile | 20 +++++++++++++++++++ .../docker/images/chip-build-doxygen/build.sh | 1 + .../docker/images/chip-build-doxygen/run.sh | 1 + .../docker/images/chip-build-doxygen/version | 1 + 4 files changed, 23 insertions(+) create mode 100644 integrations/docker/images/chip-build-doxygen/Dockerfile create mode 120000 integrations/docker/images/chip-build-doxygen/build.sh create mode 120000 integrations/docker/images/chip-build-doxygen/run.sh create mode 120000 integrations/docker/images/chip-build-doxygen/version diff --git a/integrations/docker/images/chip-build-doxygen/Dockerfile b/integrations/docker/images/chip-build-doxygen/Dockerfile new file mode 100644 index 00000000000000..1f642c26f899d6 --- /dev/null +++ b/integrations/docker/images/chip-build-doxygen/Dockerfile @@ -0,0 +1,20 @@ +ARG VERSION=latest +FROM connectedhomeip/chip-build:${VERSION} + +# Docker dependencies +RUN set -x \ + && apt-get update \ + && DEBIAN_FRONTEND=noninteractive apt-get install -fy \ + libclang1-9 \ + libclang-cpp9 \ + && rm -rf /var/lib/apt/lists/ \ + && : # last line + +# Latest version of doxygen +RUN set -x \ + && cd /opt \ + && wget https://www.doxygen.nl/files/doxygen-1.9.2.linux.bin.tar.gz \ + && tar xfvz doxygen-1.9.2.linux.bin.tar.gz \ + && rm doxygen-1.9.2.linux.bin.tar.gz \ + && ln -s /opt/doxygen-1.9.2/bin/doxygen /usr/bin/ \ + && : # last line diff --git a/integrations/docker/images/chip-build-doxygen/build.sh b/integrations/docker/images/chip-build-doxygen/build.sh new file mode 120000 index 00000000000000..fcb4d4ee75d531 --- /dev/null +++ b/integrations/docker/images/chip-build-doxygen/build.sh @@ -0,0 +1 @@ +../../build.sh \ No newline at end of file diff --git a/integrations/docker/images/chip-build-doxygen/run.sh b/integrations/docker/images/chip-build-doxygen/run.sh new file mode 120000 index 00000000000000..ccbd3501b330d9 --- /dev/null +++ b/integrations/docker/images/chip-build-doxygen/run.sh @@ -0,0 +1 @@ +../../run.sh \ No newline at end of file diff --git a/integrations/docker/images/chip-build-doxygen/version b/integrations/docker/images/chip-build-doxygen/version new file mode 120000 index 00000000000000..a4280acd348e7f --- /dev/null +++ b/integrations/docker/images/chip-build-doxygen/version @@ -0,0 +1 @@ +../chip-build/version \ No newline at end of file