-
Notifications
You must be signed in to change notification settings - Fork 168
Conversation
Added ConfigurationBuilder to WebHostBuilder for Dockerfile launch configuration
@sesispla
should be changed to covers only single image now. At the moment PR cannot be merged as tests are failing on Travis CI tests. |
Fixed, sorry :) |
Also 'emptyweb' template |
Done! I also cleaned some code that might change due to #530 |
It does not work without SQLite I think:
(run from Docker interactive terminal in image). The current EF in RC2 template for starter web with accounts (web template) ships without initialization routine. The user has to initialize EF via:
So the template has to cover SQLite installation on the image and EF migration before app is run |
If we need - the template can be instructed with project type in app/index.js:
and later in Dockertemplate the relevant IF block can be used to include SQL and EF related Docker instructions. |
@sayedihashimi |
@peterblazejewicz I tried to create a Docker container using the EF team recommended commands (prior to adding the this.templatedata.type logic for ASP.NET Membership based projects):
BUT it seems the apt-get mirror is down:
So, maybe we can close this PR for #685 (covering empty web, api and basic without authentication) and keep working on a more elaborated solution for #532 (I'll put some thoughts on this issue) What do you think? |
This one worked:
The EF (web project) does require:
and:
The sqlite installation is certainly a go: |
Proceeding to implement the conditional apt-get command for "web" projects But, very estrange, BTW... Using your Dockerfile spec:
After removing all local Docker images it worked... (Some sort of image caching issue)
|
@sesispla |
Fixes #685.
Summary of the changes in this PR:
Thanks!
/cc
@OmniSharp/generator-aspnet-team-push
Added ConfigurationBuilder to WebHostBuilder for Dockerfile launch configuration