mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
33ba9bb21b
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
16 lines
430 B
Docker
16 lines
430 B
Docker
FROM ubuntu:20.04
|
|
|
|
ARG REPO_CONFIG=grafana.list.oss
|
|
ARG PACKAGE=grafana
|
|
|
|
RUN apt update && \
|
|
apt install -y curl \
|
|
apt-transport-https \
|
|
ca-certificates \
|
|
gnupg && \
|
|
curl https://packages.grafana.com/gpg.key | apt-key add -
|
|
|
|
COPY "./$REPO_CONFIG" /etc/apt/sources.list.d/grafana.list
|
|
RUN apt update && \
|
|
apt install -y $PACKAGE
|