ubuntu-azure-cli/Dockerfile

13 lines
588 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 no-install-recommends azure-cli npm python3-dev python3-pip python3-venv && \
npm i -g azure-functions-core-tools@4 --unsafe-perm true && \
apt autoclean