Skip to content

Commit 7c07747

Browse files
committed
Add Dockerfile and packages
1 parent 7899de8 commit 7c07747

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

Dockerfile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM mcr.microsoft.com/azure-functions/python:4-python3.11
2+
LABEL maintainer="sre@signiant.com"
3+
4+
RUN apt update \
5+
&& apt install -y python3 python3-pip figlet jq zip git
6+
7+
# Azure CLI
8+
COPY pip.packages.list /tmp/pip.packages.list
9+
RUN python3 -m pip install -r /tmp/pip.packages.list && \
10+
az bicep install
11+
#azure functions tools
12+
RUN apt-get update && \
13+
apt-get install -y curl gpg && \
14+
apt install -y lsb-release && \
15+
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg && \
16+
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg && \
17+
echo "deb [arch=amd64] https://packages.microsoft.com/debian/$(lsb_release -rs | cut -d'.' -f 1)/prod $(lsb_release -cs) main" > /etc/apt/sources.list.d/dotnetdev.list && \
18+
apt-get update && \
19+
apt-get install -y azure-functions-core-tools-4

pip.packages.list

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
argparse
2+
azure-cli
3+
azure-identity
4+
azure-mgmt-network
5+
slack-sdk
6+
umpire

0 commit comments

Comments
 (0)