mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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>
This commit is contained in:
parent
73ceb25035
commit
a46daf2300
@ -38,8 +38,6 @@ If you install from the APT repository, then Grafana is automatically updated ev
|
||||
#### To install the latest Enterprise edition:
|
||||
|
||||
```bash
|
||||
sudo apt-get install -y apt-transport-https
|
||||
sudo apt-get install -y software-properties-common wget
|
||||
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
|
||||
```
|
||||
|
||||
@ -65,8 +63,7 @@ sudo apt-get install grafana-enterprise
|
||||
#### To install the latest OSS release:
|
||||
|
||||
```bash
|
||||
sudo apt-get install -y apt-transport-https
|
||||
sudo apt-get install -y software-properties-common wget
|
||||
sudo apt-get install -y wget
|
||||
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
|
||||
```
|
||||
|
||||
|
@ -119,7 +119,6 @@ COPY --from=toolchain /tmp/dockerize /usr/local/bin/
|
||||
RUN apt-get update && \
|
||||
apt-get install -yq \
|
||||
build-essential netcat-traditional clang gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-mingw-w64-x86-64 \
|
||||
apt-transport-https \
|
||||
python-pip \
|
||||
ca-certificates \
|
||||
curl \
|
||||
|
@ -5,7 +5,6 @@ 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 -
|
||||
|
Loading…
Reference in New Issue
Block a user