Correct issue with the PR #2419 - Miss a chmod on the glances startup script

This commit is contained in:
nicolargo 2023-05-20 16:36:40 +02:00
parent f85ddbfee9
commit f2869b28b7
2 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@ COPY /glances /app/glances
# Copy binary and update PATH # Copy binary and update PATH
COPY docker-bin.sh /usr/local/bin/glances COPY docker-bin.sh /usr/local/bin/glances
RUN chmod a+x /usr/local/bin/glances
ENV PATH="/venv/bin:$PATH" ENV PATH="/venv/bin:$PATH"
# EXPOSE PORT (XMLRPC / WebUI) # EXPOSE PORT (XMLRPC / WebUI)

View File

@ -82,6 +82,7 @@ COPY /glances /app/glances
# Copy binary and update PATH # Copy binary and update PATH
COPY docker-bin.sh /usr/local/bin/glances COPY docker-bin.sh /usr/local/bin/glances
RUN chmod a+x /usr/local/bin/glances
ENV PATH="/venv/bin:$PATH" ENV PATH="/venv/bin:$PATH"
# EXPOSE PORT (XMLRPC / WebUI) # EXPOSE PORT (XMLRPC / WebUI)