ubuntu-azure-cli/Dockerfile

13 lines
591 B
Docker
Raw Normal View History

2022-05-17 23:55:28 +02:00
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 && \
2022-05-18 00:50:45 +02:00
DEBIAN_FRONTEND="noninteractive" apt install no-install-recommends --yes azure-cli npm python3-dev python3-pip python3-venv && \
2022-05-17 23:55:28 +02:00
npm i -g azure-functions-core-tools@4 --unsafe-perm true && \
apt autoclean