Skip to content

Commit 95b00da

Browse files
authored
Merge pull request #1 from Signiant/docker-azure-functions
Add Dockerfile and packages
2 parents 7899de8 + 9abf88b commit 95b00da

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM mcr.microsoft.com/azure-functions/python:4-python3.11
2+
LABEL maintainer="sre@signiant.com"
3+
4+
#azure functions tools
5+
RUN apt-get update && \
6+
apt-get install -y curl gpg python3 python3-pip figlet jq zip git && \
7+
apt install -y lsb-release && \
8+
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg && \
9+
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg && \
10+
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 && \
11+
apt-get update && \
12+
apt-get install -y azure-functions-core-tools-4 && \
13+
rm -rf /var/lib/apt/lists/*
14+
15+
# Azure CLI
16+
COPY pip.packages.list /tmp/pip.packages.list
17+
RUN python3 -m pip install -r /tmp/pip.packages.list && \
18+
az bicep install

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)