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

Commit 20bcafb

Browse files
committed
Install sqlite3 at version required by EntityFramework.
In order to address an issue with running a sqlite3 database on aspnet-docker-linux a version of sqlite3 must be installed that is greater than or equal to 3.7.15 which is not available on the default apt sources list in this image. ref: dotnet/efcore#3089 aspnet/aspnet-docker#121
1 parent c1c16d2 commit 20bcafb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/Dockerfile.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<% if(!coreclr){ %>FROM microsoft/aspnet:1.0.0-rc1-final<% } %><% if(coreclr){ %>FROM microsoft/aspnet:1.0.0-rc1-final-coreclr<% } %>
22

3+
RUN printf "deb http://ftp.us.debian.org/debian jessie main\n" >> /etc/apt/sources.list
4+
RUN apt-get -qq update && apt-get -qqy sqlite3 libsqlite3-dev && rm -rf /var/lib/apt/lists/*
5+
36
COPY . /app
47
WORKDIR /app
58
RUN ["dnu", "restore"]

0 commit comments

Comments
 (0)