Skip to content

Commit e080774

Browse files
committed
Add optional ability to install template from source
1 parent 753ffcc commit e080774

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ ARG templates_version=1.0.1
1010
RUN dotnet nuget add source https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/dev/nuget/v3/index.json -n SteeltoeDev
1111
RUN dotnet new --install Steeltoe.NetCoreTool.Templates::${templates_version} &&\
1212
dotnet new --list | grep steeltoe-webapi
13+
# WORKDIR /usr/local/src
14+
# RUN git clone https://github.com/SteeltoeOSS/NetCoreToolTemplates
15+
# RUN dotnet new --install NetCoreToolTemplates/src/Content
1316
WORKDIR /srv
1417
COPY --from=build /srv .
1518
ENV DOTNET_URLS http://0.0.0.0:80

0 commit comments

Comments
 (0)