File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -237,4 +237,6 @@ _Pvt_Extensions
237237
238238.vscode /
239239
240- sample /Sample /out /
240+ sample /Sample /out /
241+
242+ .DS_Store
Original file line number Diff line number Diff line change 1- FROM microsoft/dotnet:2.0 -sdk AS build
1+ FROM microsoft/dotnet:2.1 -sdk AS build
22ADD . /
33WORKDIR /sample/Sample
44RUN dotnet restore
55RUN dotnet publish -c Release -o out -f netcoreapp2.0
66
7- FROM microsoft/dotnet:2.0 -runtime AS runtime
7+ FROM microsoft/dotnet:2.1 -runtime AS runtime
88WORKDIR /sample/Sample
99COPY --from=build /sample/Sample/out ./
1010ENTRYPOINT ["dotnet" , "Sample.dll" ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services:
88 - 8088:8088
99 - 8089:8089
1010 environment :
11- SPLUNK_START_ARGS : " --accept-license --answer-yes"
11+ SPLUNK_START_ARGS : " --accept-license --answer-yes --seed-passwd changeme "
1212 SPLUNK_USER : " root"
1313 sampleconsoleapp :
1414 depends_on :
Original file line number Diff line number Diff line change 11#! /bin/bash
2- sh build.sh
3-
4- cd sample/Sample
5- dotnet run 15 -f netcoreapp2.0
6- cd ..
2+ docker-compose up --build
Original file line number Diff line number Diff line change 1- FROM splunk/splunk:6.5.3
1+ FROM splunk/splunk:7.1.0
22ADD etc ${SPLUNK_HOME}/etc
You can’t perform that action at this time.
0 commit comments