Skip to content

Commit

Permalink
added some tools needed for CI (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Feb 8, 2019
1 parent efc5de8 commit 09606fb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ Target "BuildDockerImages" (fun _ ->
let projects = !! "src/**/*.csproj"
-- "src/**/*Tests.csproj" // Don't publish unit tests
-- "src/**/*Tests*.csproj"

let buildDockerImage imageName projectPath =
let args = StringBuilder()
|> append "build"
Expand Down
4 changes: 4 additions & 0 deletions docker-images.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
webcrawler.lighthouse
webcrawler.crawlservice
webcrawler.trackerservice
webcrawler.web
2 changes: 1 addition & 1 deletion src/Lighthouse/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ RUN dotnet tool install --global pbm
# Needed because https://stackoverflow.com/questions/51977474/install-dotnet-core-tool-dockerfile
ENV PATH="${PATH}:/root/.dotnet/tools"

RUN pbm help
# RUN pbm help

CMD ["dotnet", "Lighthouse.dll"]
2 changes: 1 addition & 1 deletion src/WebCrawler.CrawlService/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ RUN dotnet tool install --global pbm
# Needed because https://stackoverflow.com/questions/51977474/install-dotnet-core-tool-dockerfile
ENV PATH="${PATH}:/root/.dotnet/tools"

RUN pbm help
# RUN pbm help

CMD ["dotnet", "WebCrawler.CrawlService.dll"]
2 changes: 1 addition & 1 deletion src/WebCrawler.TrackerService/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ RUN dotnet tool install --global pbm
# Needed because https://stackoverflow.com/questions/51977474/install-dotnet-core-tool-dockerfile
ENV PATH="${PATH}:/root/.dotnet/tools"

RUN pbm help
# RUN pbm help

CMD ["dotnet", "WebCrawler.TrackerService.dll"]
2 changes: 1 addition & 1 deletion src/WebCrawler.Web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN dotnet tool install --global pbm
# Needed because https://stackoverflow.com/questions/51977474/install-dotnet-core-tool-dockerfile
ENV PATH="${PATH}:/root/.dotnet/tools"

RUN pbm help
# RUN pbm help

COPY ./bin/Release/netcoreapp2.1/publish/ /app

Expand Down

0 comments on commit 09606fb

Please sign in to comment.