diff options
author | nicolargo <nicolas@nicolargo.com> | 2023-05-20 16:36:11 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2023-05-20 16:36:11 +0200 |
commit | ac4da6fd5b7097c7b66d5572bcb4e470971aee35 (patch) | |
tree | 460af0e1ec2049114dd84b862c954d6f1aaf5201 | |
parent | 40fd7fe7c7e8c2ea42ddc9aee7251b5a5dc130ec (diff) |
Correct issue with the PR #2419 - Miss a chmod on the glances startup script
-rw-r--r-- | docker-files/alpine.Dockerfile | 1 | ||||
-rw-r--r-- | docker-files/ubuntu.Dockerfile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docker-files/alpine.Dockerfile b/docker-files/alpine.Dockerfile index 5ba23966..37e8ef0f 100644 --- a/docker-files/alpine.Dockerfile +++ b/docker-files/alpine.Dockerfile @@ -88,6 +88,7 @@ COPY /glances /app/glances # Copy binary and update PATH COPY docker-bin.sh /usr/local/bin/glances +RUN chmod a+x /usr/local/bin/glances ENV PATH="/venv/bin:$PATH" # EXPOSE PORT (XMLRPC / WebUI) diff --git a/docker-files/ubuntu.Dockerfile b/docker-files/ubuntu.Dockerfile index 96abc88f..9da1ad6f 100644 --- a/docker-files/ubuntu.Dockerfile +++ b/docker-files/ubuntu.Dockerfile @@ -82,6 +82,7 @@ COPY /glances /app/glances # Copy binary and update PATH COPY docker-bin.sh /usr/local/bin/glances +RUN chmod a+x /usr/local/bin/glances ENV PATH="/venv/bin:$PATH" # EXPOSE PORT (XMLRPC / WebUI) |