-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
61 lines (50 loc) · 1.66 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
FROM jenkins/jenkins:latest as myjenkins
USER root
RUN apt update
# Install dependency packages
RUN apt install -y \
libnss3 \
gnupg \
libxkbfile1 \
libsecret-1-0 \
libgtk-3-0 \
libxss1 libgbm1 \
libunwind8 jq \
python3 \
python3-pip \
apt-transport-https \
software-properties-common \
wget
# Install Azure CLI
RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
# Install Bicep
RUN az bicep install
# Install Pip
RUN python3 -m pip install --upgrade pip
# Install Databricks python CLI
RUN python3 -m pip install databricks-cli
#Install Flake8
RUN python3 -m pip install flake8
# Install Powershell
RUN wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN apt update -y
RUN apt install -y powershell
# Install Powershell Azure CLI
RUN ["pwsh", "-c", "Install-Module -Name Az -Scope AllUsers -Repository PSGallery -Force"]
# Install DotNet
RUN wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN rm packages-microsoft-prod.deb
RUN apt install -y dotnet-sdk-3.1
# Install Azure Data Studio
RUN wget -progress=bar:force -q -O azuredatastudio-linux.deb https://go.microsoft.com/fwlink/?linkid=2168339
RUN dpkg -i azuredatastudio-linux.deb
RUN rm azuredatastudio-linux.deb
# Install Sql Package
RUN curl -Lo sqlpackage-linux.zip https://aka.ms/sqlpackage-linux
RUN unzip -o sqlpackage-linux.zip -d /opt/sqlpackage/
RUN chmod +x /opt/sqlpackage/*
RUN rm -f /bin/sqlpackage
RUN ln -s /opt/sqlpackage/sqlpackage /bin/sqlpackage
RUN rm -rf sqlpackage-linux.zip