Skip to content
This repository was archived by the owner on Feb 13, 2019. It is now read-only.

🐳 Dockerfile support refactoring with optional SQLite support #750

Merged

Conversation

peterblazejewicz
Copy link
Member

This PR adds optional support for SQLite package added to generated Docker image - as required by web starter project with individual accounts (SQLite backed EF).

The PR introduces explicit --sqlite option for Dockerfile subgenerator and implicit --sqlite option set to true when scaffolding project of type web (starter web with EF + SQLite).

The PR introduces changes in unit tests to cover all scenarios for Dockerfile creation

For details about implementation:
#743

Thanks!

/cc
@sesispla
@OmniSharp/generator-aspnet-team-push

The Dockerfile will support two different options:
- without SQLite package installation and without
call to EF migrations
- with SQLite and EF migrations implementation
The --sqlite option controls if SQLite support is
added to generated Docker dotnet image - required
by MVC web starter projects that use EntityFramework

The --sqlite option can be used with subgenerator and
is pre-set when project type if starter web (with SQLite
backed EF database implementation)
@peterblazejewicz peterblazejewicz merged commit 286b6f9 into OmniSharp:master Jun 15, 2016
@peterblazejewicz peterblazejewicz deleted the refactor/dockerfile branch June 15, 2016 20:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant