Skip to content

Commit

Permalink
feat(devcontainer): updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
loekd authored Sep 25, 2023
1 parent fa90a24 commit 2dd2fdd
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
FROM ubuntu:20.04

RUN echo "servicefabric servicefabric/accepted-eula-ga select true" | sudo debconf-set-selections
RUN echo "servicefabricsdkcommon servicefabricsdkcommon/accepted-eula-ga select true" | sudo debconf-set-selections
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

ADD https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
RUN apt-get update && apt-get install apt-utils apt-transport-https ca-certificates gnupg2 software-properties-common -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

ADD https://packages.microsoft.com/keys/msopentech.asc msopentech.asc
RUN apt-key add ./msopentech.asc

ADD https://download.docker.com/linux/ubuntu/gpg
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 20.04 stable"
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 apt-get update && apt-get install servicefabricsdkcommon
RUN apt-get update && apt-get install servicefabricsdkcommon dotnet-sdk-6.0 dotnet-sdk-7.0 servicefabric -y



Expand Down

0 comments on commit 2dd2fdd

Please sign in to comment.