-
-
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.
bug: dev container remains not working
- Loading branch information
Showing
3 changed files
with
68 additions
and
16 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,2 +1,22 @@ | ||
FROM ubuntu:24.10 | ||
RUN apt-get update && apt-get install curl -y | ||
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 servicefabric -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 |
---|---|---|
@@ -1,21 +1,53 @@ | ||
#!/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 | ||
echo "servicefabric servicefabric/accepted-eula-ga select true" | debconf-set-selections | ||
echo "servicefabricsdkcommon servicefabricsdkcommon/accepted-eula-ga select true" | 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 - | ||
DEBIAN_FRONTEND=noninteractive | ||
LD_LIBRARY_PATH=/opt/microsoft/servicefabric/bin/Fabric/Fabric.Code | ||
|
||
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" | ||
wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb packages-microsoft-prod.deb | ||
dpkg -i packages-microsoft-prod.deb | ||
rm -f packages-microsoft-prod.deb | ||
|
||
sudo apt-get update | ||
wget -q https://packages.microsoft.com/keys/msopentech.asc msopentech.asc | ||
apt-key add ./msopentech.asc | ||
rm -f msopentech.asc | ||
|
||
sudo apt-get install servicefabricsdkcommon | ||
|
||
|
||
wget -q https://download.docker.com/linux/ubuntu/gpg gpg | ||
apt-key add ./gpg | ||
rm -f gpg | ||
|
||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" -y | ||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 | ||
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 | ||
rm -f zulu-repo_1.0.0-2_all.deb | ||
|
||
# apt-get install apt-transport-https -y | ||
# wget -q https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb | ||
# dpkg -i packages-microsoft-prod.deb | ||
# rm -f packages-microsoft-prod.deb | ||
|
||
# curl -fsSL https://packages.microsoft.com/keys/msopentech.asc | apt-key add - | ||
|
||
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | ||
|
||
# apt-get install software-properties-common -y | ||
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8 | ||
# add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu oracular stable" -y | ||
|
||
|
||
# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 | ||
# apt install gnupg ca-certificates curl -y | ||
# curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg | ||
# echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list | ||
# rm -f azul.gpg | ||
|
||
apt-get update | ||
|
||
apt-get install servicefabricsdkcommon -y |