grafana/scripts/verify-repo-update/Dockerfile.deb
Simon Deziel a46daf2300
Drop unused debian packages (#45173)
* apt-transport-https is no longer needed (apt has builtin HTTPS support)

apt-transport-https is a virtual package since Ubuntu Bionic as apt
natively supports HTTPS repos since then, see:
https://packages.ubuntu.com/bionic/apt-transport-https

Signed-off-by: Simon Deziel <simon@sdeziel.info>

* Stop pulling software-properties-common (unused)

software-properties-common was used for the add-apt-repository
command that is no longer used since commit 26cf3d9c66

Signed-off-by: Simon Deziel <simon@sdeziel.info>
2022-06-29 09:41:08 -04:00

15 lines
389 B
Docker

FROM ubuntu:20.04
ARG REPO_CONFIG=grafana.list.oss
ARG PACKAGE=grafana
RUN apt update && \
apt install -y curl \
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