ubuntu-azure-cli/Dockerfile
Torma Kristóf 73e152c6ab
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
initial commit
2022-05-17 23:55:28 +02:00

13 lines
526 B
Docker

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