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

Commit 7241d00

Browse files
committed
(bugfix) updated SQLITE3 prevent EF7 crash on boilerplate ASPNET sites
1 parent 0a2c45c commit 7241d00

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

1.0.0-rc1-update1-coreclr/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ ENV DNX_USER_HOME /opt/DNX_BRANCH
77
#the smaller base image. So we use this variable to overwrite the default detection.
88
ENV DNX_RUNTIME_ID ubuntu.14.04-x64
99

10-
RUN apt-get -qq update && apt-get -qqy install unzip curl libicu-dev libunwind8 gettext libssl-dev libcurl3-gnutls zlib1g && rm -rf /var/lib/apt/lists/*
10+
# In order to address an issue with running a sqlite3 database on aspnet-docker-linux
11+
# a version of sqlite3 must be installed that is greater than or equal to 3.7.15
12+
# which is not available on the default apt sources list in this image.
13+
# ref: https://github.com/aspnet/EntityFramework/issues/3089
14+
RUN printf "deb http://ftp.us.debian.org/debian jessie main\n" >> /etc/apt/sources.list
15+
16+
RUN apt-get -qq update && apt-get -qqy install unzip curl libicu-dev libunwind8 gettext libssl-dev libcurl3-gnutls zlib1g sqlite3 libsqlite3-dev && rm -rf /var/lib/apt/lists/*
1117

1218
RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh
1319
RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \

1.0.0-rc1-update1/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ ENV DNX_USER_HOME /opt/dnx
77
#the smaller base image. So we use this variable to overwrite the default detection.
88
ENV DNX_RUNTIME_ID ubuntu.14.04-x64
99

10-
RUN apt-get -qq update && apt-get -qqy install unzip libc6-dev libicu-dev && rm -rf /var/lib/apt/lists/*
10+
# In order to address an issue with running a sqlite3 database on aspnet-docker-linux
11+
# a version of sqlite3 must be installed that is greater than or equal to 3.7.15
12+
# which is not available on the default apt sources list in this image.
13+
# ref: https://github.com/aspnet/EntityFramework/issues/3089
14+
RUN printf "deb http://ftp.us.debian.org/debian jessie main\n" >> /etc/apt/sources.list
15+
16+
# added sqlite3 & libsqlite3-dev install for use with aspnet-generators (Entity framework)
17+
RUN apt-get -qq update && apt-get -qqy install unzip libc6-dev libicu-dev sqlite3 libsqlite3-dev && rm -rf /var/lib/apt/lists/*
1118

1219
RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh
1320
RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \

0 commit comments

Comments
 (0)