From 64487417052bab62a123e6144a35c6b778bcfefc Mon Sep 17 00:00:00 2001 From: "A. R" Date: Wed, 20 Oct 2021 01:05:39 +0200 Subject: [PATCH] =?UTF-8?q?quickfixes=20f=C3=BCr=20issue=20#77?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +++- README.md | 2 +- .../templates/nextbox_ui_plugin/site_topology.html | 1 - .../templates/nextbox_ui_plugin/topology_3.x.html | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 284f307..2eb5efa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,5 +9,7 @@ COPY ./nextbox_ui_plugin /source/nextbox-ui-plugin/nextbox_ui_plugin/ COPY ./setup.py /source/nextbox-ui-plugin/ COPY ./MANIFEST.in /source/nextbox-ui-plugin/ COPY ./README.md /source/nextbox-ui-plugin/ -COPY --chown=1000:1000 --chmod=644 ./nextbox_ui_plugin/static/nextbox_ui_plugin /opt/netbox/netbox/static/nextbox_ui_plugin +COPY --chown=100:101 --chmod=644 ./nextbox_ui_plugin/static/nextbox_ui_plugin /opt/netbox/netbox/static/nextbox_ui_plugin RUN pip3 install --no-cache-dir nextbox-ui-plugin +RUN find /opt/netbox/netbox/static/nextbox_ui_plugin -type d -exec chmod 755 {} + + diff --git a/README.md b/README.md index 409459b..e566b31 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ Download the Plugin and build from the source: ``` $ git clone https://github.com/iDebugAll/nextbox-ui-plugin $ cd nextbox-ui-plugin -$ docker build -t netbox-custom . +$ DOCKER_BUILDKIT=1 docker build -t netbox-custom . ``` Update a netbox image name in **docker-compose.yml** in a Netbox Community Docker project root: ```yaml diff --git a/nextbox_ui_plugin/templates/nextbox_ui_plugin/site_topology.html b/nextbox_ui_plugin/templates/nextbox_ui_plugin/site_topology.html index 739f8f5..2d14109 100644 --- a/nextbox_ui_plugin/templates/nextbox_ui_plugin/site_topology.html +++ b/nextbox_ui_plugin/templates/nextbox_ui_plugin/site_topology.html @@ -74,7 +74,6 @@ showHidePassiveDevicesButtonInitial(); - diff --git a/nextbox_ui_plugin/templates/nextbox_ui_plugin/topology_3.x.html b/nextbox_ui_plugin/templates/nextbox_ui_plugin/topology_3.x.html index 2ac75dd..dc04c75 100644 --- a/nextbox_ui_plugin/templates/nextbox_ui_plugin/topology_3.x.html +++ b/nextbox_ui_plugin/templates/nextbox_ui_plugin/topology_3.x.html @@ -151,7 +151,6 @@ console.log(topologyData); -