ubuntu-azure-cli/Dockerfile
Torma Kristóf 8967399fe3
Some checks failed
continuous-integration/drone/push Build is failing
use apt-get
2022-05-18 00:52:05 +02:00

13 lines
607 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-get update && \
apt-get upgrade -y && \
apt-get 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-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 && \
apt autoclean