diff --git a/1.0.0-rc1-update1-coreclr/Dockerfile b/1.0.0-rc1-update1-coreclr/Dockerfile index cd981049..199d6fe2 100644 --- a/1.0.0-rc1-update1-coreclr/Dockerfile +++ b/1.0.0-rc1-update1-coreclr/Dockerfile @@ -7,7 +7,14 @@ ENV DNX_USER_HOME /opt/DNX_BRANCH #the smaller base image. So we use this variable to overwrite the default detection. ENV DNX_RUNTIME_ID ubuntu.14.04-x64 -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/* +# 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: https://github.com/aspnet/EntityFramework/issues/3089 +# https://github.com/aspnet/aspnet-docker/issues/121 +RUN printf "deb http://ftp.us.debian.org/debian jessie main\n" >> /etc/apt/sources.list + +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/* RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \ diff --git a/1.0.0-rc1-update1/Dockerfile b/1.0.0-rc1-update1/Dockerfile index d79980ba..606bf4aa 100644 --- a/1.0.0-rc1-update1/Dockerfile +++ b/1.0.0-rc1-update1/Dockerfile @@ -7,7 +7,15 @@ ENV DNX_USER_HOME /opt/dnx #the smaller base image. So we use this variable to overwrite the default detection. ENV DNX_RUNTIME_ID ubuntu.14.04-x64 -RUN apt-get -qq update && apt-get -qqy install unzip libc6-dev libicu-dev && rm -rf /var/lib/apt/lists/* +# 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: https://github.com/aspnet/EntityFramework/issues/3089 +# https://github.com/aspnet/aspnet-docker/issues/121 +RUN printf "deb http://ftp.us.debian.org/debian jessie main\n" >> /etc/apt/sources.list + +# added sqlite3 & libsqlite3-dev install for use with aspnet-generators (Entity framework) +RUN apt-get -qq update && apt-get -qqy install unzip libc6-dev libicu-dev sqlite3 libsqlite3-dev && rm -rf /var/lib/apt/lists/* RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \ @@ -32,4 +40,4 @@ RUN LIBUV_VERSION=1.4.2 \ ENV PATH $PATH:$DNX_USER_HOME/runtimes/default/bin # Prevent `dnu restore` from stalling (gh#63, gh#80) -ENV MONO_THREADS_PER_CPU 50 +ENV MONO_THREADS_PER_CPU 50 \ No newline at end of file