mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00:00
Fix docker image build
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
c08009139a
commit
041d0bcfd6
@ -16,7 +16,7 @@ COPY npm_licenses.tar.bz2 /npm_licenses.tar.bz2
|
|||||||
|
|
||||||
RUN ln -s /usr/share/prometheus/console_libraries /usr/share/prometheus/consoles/ /etc/prometheus/
|
RUN ln -s /usr/share/prometheus/console_libraries /usr/share/prometheus/consoles/ /etc/prometheus/
|
||||||
RUN mkdir -p /prometheus && \
|
RUN mkdir -p /prometheus && \
|
||||||
chown -R nobody:nogroup etc/prometheus /prometheus
|
chown -R nobody:nobody etc/prometheus /prometheus
|
||||||
|
|
||||||
USER nobody
|
USER nobody
|
||||||
EXPOSE 9090
|
EXPOSE 9090
|
||||||
|
Loading…
Reference in New Issue
Block a user