Skip to content

Commit

Permalink
Rollback Grafana version in Docker container to enable deprecated Ang…
Browse files Browse the repository at this point in the history
…ular plugin (ROCm#416)

Signed-off-by: coleramos425 <colramos@amd.com>
Signed-off-by: xuchen-amd <xuchen@amd.com>
  • Loading branch information
coleramos425 authored and xuchen-amd committed Oct 16, 2024
1 parent 3dc175c commit 74bbcf9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions grafana/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ ENV NODE_VERSION 20.12.2
ADD plugins/omniperf_plugin /var/lib/grafana/plugins/omniperf_plugin

# Install Grafana and MongoDB Community Edition
# Note: Grafana install is stubbed to 10.4.3
RUN apt-get update && \
apt-get install -y apt-transport-https software-properties-common wget && \
mkdir -p /etc/apt/keyrings/ && \
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | tee /etc/apt/keyrings/grafana.gpg > /dev/null && \
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | tee -a /etc/apt/sources.list.d/grafana.list && \
apt-get update && \
apt-get install -y grafana && \
apt-get install -y adduser libfontconfig1 musl wget && \
wget -q https://dl.grafana.com/enterprise/release/grafana-enterprise_10.4.3_amd64.deb && \
dpkg -i grafana-enterprise_10.4.3_amd64.deb && \
apt-get install -y gnupg curl && \
curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor && \
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list && \
Expand Down Expand Up @@ -72,4 +70,4 @@ RUN sed -i "s/^;http_port = 3000/http_port = 4000/" /etc/grafana/grafana.ini &&
# Starts mongo and grafana-server at startup
COPY docker-entrypoint.sh /docker-entrypoint.sh

ENTRYPOINT [ "/docker-entrypoint.sh" ]
ENTRYPOINT [ "/docker-entrypoint.sh" ]

0 comments on commit 74bbcf9

Please sign in to comment.