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:
Simon Deziel 2022-06-29 09:41:08 -04:00 committed by GitHub
parent 73ceb25035
commit a46daf2300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 6 deletions

View File

@ -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 -
```

View File

@ -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 \

View File

@ -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 -