2022-05-17 23:55:28 +02:00
|
|
|
|
FROM ubuntu:20.04
|
|
|
|
|
|
2022-05-18 00:52:05 +02:00
|
|
|
|
RUN apt-get update && \
|
|
|
|
|
apt-get upgrade -y && \
|
|
|
|
|
apt-get install -y wget && \
|
2022-05-17 23:55:28 +02:00
|
|
|
|
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:52:05 +02:00
|
|
|
|
DEBIAN_FRONTEND="noninteractive" apt-get 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
|