Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
warning-explosive committed Feb 8, 2023
1 parent 376b25d commit 3681c1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile.webtest
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ WORKDIR /build

# separate restore layer
COPY ["./*.csproj", "./*/*.csproj", "./*/*/*.csproj", "./*.sln", "./*.sh", "./*.config", "./"]
RUN apk add --no-cache bash
RUN chmod +x restore_project_structure.sh
RUN ./restore_project_structure.sh
RUN dotnet restore Tests/Test.WebApplication/Test.WebApplication.csproj --packages ./packages --no-cache -v:minimal
Expand Down
2 changes: 1 addition & 1 deletion restore_project_structure.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
for file in $(find . -name '*.csproj' -exec basename {} \;)
do
dest=$(egrep -o ", \"(.*${file})" Core.sln | cut -d \" -f 2)
Expand Down

0 comments on commit 3681c1c

Please sign in to comment.