ubuntu-azure-cli/Dockerfile
Torma Kristóf 6e65640e73
Some checks failed
continuous-integration/drone/push Build is failing
support python3 local builds
2022-05-18 00:48:34 +02:00

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