mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
4e547980fb
* build: Easy version check of deb & rpm repos
17 lines
464 B
Docker
17 lines
464 B
Docker
FROM ubuntu
|
|
|
|
ARG REPO_CONFIG=grafana.list.oss
|
|
ARG PACKAGE=grafana
|
|
|
|
COPY sources.list /etc/apt/sources.list
|
|
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
|