-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,2 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN echo "servicefabric servicefabric/accepted-eula-ga select true" | debconf-set-selections | ||
RUN echo "servicefabricsdkcommon servicefabricsdkcommon/accepted-eula-ga select true" | debconf-set-selections | ||
ENV LD_LIBRARY_PATH=/opt/microsoft/servicefabric/bin/Fabric/Fabric.Code | ||
|
||
RUN apt-get update && apt-get install apt-utils apt-transport-https ca-certificates gnupg2 software-properties-common curl -y | ||
|
||
ADD https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb packages-microsoft-prod.deb | ||
RUN dpkg -i packages-microsoft-prod.deb | ||
|
||
ADD https://packages.microsoft.com/keys/msopentech.asc msopentech.asc | ||
RUN apt-key add ./msopentech.asc | ||
|
||
ADD https://download.docker.com/linux/ubuntu/gpg gpg | ||
RUN apt-key add ./gpg | ||
|
||
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | ||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 | ||
#RUN apt-add-repository "deb http://repos.azul.com/azure-only/zulu/apt stable main" | ||
RUN curl -O https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-2_all.deb && apt-get install ./zulu-repo_1.0.0-2_all.deb | ||
RUN apt-get update && apt-get install zulu11-jdk servicefabricsdkcommon dotnet-sdk-6.0 dotnet-sdk-7.0 dotnet-sdk-8.0 servicefabric -y | ||
FROM ubuntu:24.10 | ||
RUN apt-get update && apt-get install curl -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
echo "servicefabric servicefabric/accepted-eula-ga select true" | sudo debconf-set-selections | ||
echo "servicefabricsdkcommon servicefabricsdkcommon/accepted-eula-ga select true" | sudo debconf-set-selections | ||
|
||
apt-get install apt-transport-https -y | ||
wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb | ||
sudo dpkg -i packages-microsoft-prod.deb | ||
|
||
sudo curl -fsSL https://packages.microsoft.com/keys/msopentech.asc | sudo apt-key add - | ||
|
||
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | ||
|
||
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | ||
|
||
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 | ||
sudo apt-add-repository "deb http://repos.azul.com/azure-only/zulu/apt stable main" | ||
|
||
sudo apt-get update | ||
|
||
sudo apt-get install servicefabricsdkcommon |