use apt-get
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-05-18 00:52:05 +02:00
parent 9885b52933
commit 8967399fe3

View File

@ -1,12 +1,12 @@
FROM ubuntu:20.04 FROM ubuntu:20.04
RUN apt update && \ RUN apt-get update && \
apt upgrade -y && \ apt-get upgrade -y && \
apt install -y wget && \ apt-get install -y wget && \
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb && \ wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb && \
dpkg -i packages-microsoft-prod.deb && \ dpkg -i packages-microsoft-prod.deb && \
echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections && \ echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections && \
echo 'tzdata tzdata/Zones/Europe select Budapest' | debconf-set-selections && \ echo 'tzdata tzdata/Zones/Europe select Budapest' | debconf-set-selections && \
DEBIAN_FRONTEND="noninteractive" apt install no-install-recommends --yes azure-cli npm python3-dev python3-pip python3-venv && \ DEBIAN_FRONTEND="noninteractive" apt-get install no-install-recommends --yes azure-cli npm python3-dev python3-pip python3-venv && \
npm i -g azure-functions-core-tools@4 --unsafe-perm true && \ npm i -g azure-functions-core-tools@4 --unsafe-perm true && \
apt autoclean apt autoclean