Skip to content

Add instructions for using builder pattern#1

Open
friism wants to merge 3 commits into
SteveLasker:masterfrom
friism:add-instructions
Open

Add instructions for using builder pattern#1
friism wants to merge 3 commits into
SteveLasker:masterfrom
friism:add-instructions

Conversation

@friism

@friism friism commented Sep 30, 2016

Copy link
Copy Markdown

It's too bad that it's so hard to do in PowerShell because of reasons.

In bash it would be something like:

docker cp $(docker create <image>):/out - | docker build -t app -

WORKDIR /app

ADD project.json .
RUN dotnet restore --no-cache

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a compelling reason to do --no-cache here? You are slowing down the restore for no real gain.

@friism friism Feb 23, 2017

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because I had misunderstood what the flag does: aspnet/MusicStore#713 (comment)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. That makes sense. Yeah, we probably should talk about clarifying the descriptions and such if it is still the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants