predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Yan <steven....@salesforce.com>
Subject Re: Upgrading PredictionIO in a Docker image?
Date Mon, 23 Jan 2017 23:31:38 GMT
The dockerfile in my repo worked for me before.
You can create pull-request in my repo, so that I do not lose track of it.

Thanks,
Steven

On Mon, Jan 23, 2017 at 2:59 PM, David Scruggs <dscruggs@salesforce.com>
wrote:

> I'm testing the new version now. Does the current version work for you, or
> is it just a local issue for me?
>
> FYI, I was on VPN and getting the following error:
> curl: (6) Could not resolve host: dl.bintray.com
> I went off of VPN with the new script, and I made it almost all the way
> through the build before it aborted:
> The following NEW packages will be installed:
>   binutils build-essential bzip2 cpp cpp-5 dpkg-dev fakeroot fonts-lato g++
>   g++-5 gcc gcc-5 git git-man ifupdown iproute2 isc-dhcp-client
>   isc-dhcp-common javascript-common less libalgorithm-diff-perl
>   libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan2 libatm1
>   libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdns-export162
>   libdpkg-perl liberror-perl libfakeroot libfile-fcntllock-perl
> libgcc-5-dev
>   libgdbm3 libgomp1 libisc-export160 libisl15 libitm1 libjs-jquery liblsan0
>   libmnl0 libmpc3 libmpfr4 libmpx0 libperl5.22 libpopt0 libruby2.3
>   libstdc++-5-dev libtsan0 libubsan0 libxmuu1 libxtables11 libyaml-0-2
>   linux-libc-dev make manpages manpages-dev netbase openssh-client patch
> perl
>   perl-modules-5.22 rake rename rsync ruby ruby-did-you-mean ruby-minitest
>   ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3
>   rubygems-integration unzip xauth xz-utils zip
> 0 upgraded, 80 newly installed, 0 to remove and 4 not upgraded.
> Need to get 58.9 MB of archives.
> After this operation, 250 MB of additional disk space will be used.
> Do you want to continue? [Y/n] Abort.
>
> I'll keep working on it.
>
> On Mon, Jan 23, 2017 at 4:48 PM Steven Yan <steven.yan@salesforce.com>
> wrote:
>
>> Hi Dave
>>
>> It might be some changes for installation process after I worked on the
>> dockerfile.
>> Since your change works for you, could you create a pull request, so that
>> I can do merge after confirming it myself at night?
>>
>> Thanks,
>> Steven
>>
>> On Mon, Jan 23, 2017 at 12:21 PM, David Scruggs <dscruggs@salesforce.com>
>> wrote:
>>
>> Steven: sbt wasn't installing for me. I got this error:
>> Attempting to fetch sbt
>> *   Trying 52.45.72.65...
>> * Connected to repo.typesafe.com (52.45.72.65) port 80 (#0)
>> > GET /typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.7/sbt-launch.jar
>> HTTP/1.1
>> > Host: repo.typesafe.com
>> > User-Agent: curl/7.47.0
>> > Accept: */*
>> >
>> < HTTP/1.1 302 Moved Temporarily
>> < Content-Type: text/html
>> < Date: Mon, 23 Jan 2017 19:37:47 GMT
>> < Location: http://dl.bintray.com/typesafe/ivy-releases/org.
>> scala-sbt/sbt-launch/0.13.7/sbt-launch.jar
>> < Server: nginx/1.8.0
>> < Content-Length: 160
>> < Connection: keep-alive
>> <
>> * Ignoring the response-body
>> { [160 bytes data]
>> ########################################################################
>> 100.0%* Connection #0 to host repo.typesafe.com left intact
>> * Issue another request to this URL: 'http://dl.bintray.com/
>> typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.7/sbt-launch.jar'
>> * Could not resolve host: dl.bintray.com
>> * Closing connection 1
>>
>> curl: (6) Could not resolve host: dl.bintray.com
>> * Could not resolve host: typesafe.artifactoryonline.com
>> * Closing connection 0
>>
>> curl: (6) Could not resolve host: typesafe.artifactoryonline.com
>>
>> I'm adding some of these lines to the Dockerfile to fix the SBT install
>> (minus the "sudo"s, pulled from http://www.scala-sbt.org/
>> 0.13/docs/Installing-sbt-on-Linux.html).
>>
>> echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
>> sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
>> sudo apt-get update
>> sudo apt-get install sbt
>>
>>
>> Does that seem like the right approach?
>>
>> Dave
>>
>> On Mon, Jan 23, 2017 at 2:35 PM David Scruggs <dscruggs@salesforce.com>
>> wrote:
>>
>> Thanks--just switched to that one a little while ago!
>>
>> On Mon, Jan 23, 2017 at 1:37 PM Steven Yan <steven.yan@salesforce.com>
>> wrote:
>>
>> Hi David
>>
>> You can use https://github.com/steveny2k/docker-predictionio for the
>> latest stable version
>>
>> Thanks,
>> Steven
>>
>> On Mon, Jan 23, 2017 at 6:22 AM, David Scruggs <dscruggs@salesforce.com>
>> wrote:
>>
>> I'm new to PredictionIO **and** new to Docker, and I'm using Ming Fang's
>> Docker setup from https://github.com/mingfang/docker-predictionio. The
>> version of PredictionIO is not the current incubating version, and the
>> event service and the recommendation engine give an error that I need to
>> update to a more recent version.
>>
>> The upgrade instructions are for a local instance. Are there upgrade
>> instructions that I would run in Docker, or do I need to branch from the
>> GitHub repo and make all the changes in source, and rebuild from there?
>>
>> Better yet, is there a Docker setup that is using a current version of
>> PredictionIO that I can work from, since I'm just trying to get a working
>> environment to explore and learn?
>> --
>> DAVID SCRUGGS
>> *My protocol: If I'm in the TO: line, you'd like me to respond. If I'm in
>> the CC: line, I assume the email is to keep me informed.*
>> Principal Platform Solution Engineer | Salesforce
>> Mobile: 404-849-0015 <(404)%20849-0015>
>> Office: 770-837-0241 <(770)%20837-0241>
>> GoToMeeting: https://www.gotomeet.me/DavidScruggs
>> <http://www.salesforce.com/signature>
>> --
>>
>>
>> --
>> DAVID SCRUGGS
>> *My protocol: If I'm in the TO: line, you'd like me to respond. If I'm in
>> the CC: line, I assume the email is to keep me informed.*
>> Principal Platform Solution Engineer | Salesforce
>> Mobile: 404-849-0015 <(404)%20849-0015>
>> Office: 770-837-0241 <(770)%20837-0241>
>> GoToMeeting: https://www.gotomeet.me/DavidScruggs
>> <http://www.salesforce.com/signature>
>> --
>>
>> --
>> DAVID SCRUGGS
>> *My protocol: If I'm in the TO: line, you'd like me to respond. If I'm in
>> the CC: line, I assume the email is to keep me informed.*
>> Principal Platform Solution Engineer | Salesforce
>> Mobile: 404-849-0015 <(404)%20849-0015>
>> Office: 770-837-0241 <(770)%20837-0241>
>> GoToMeeting: https://www.gotomeet.me/DavidScruggs
>> <http://www.salesforce.com/signature>
>> --
>>
>>
>> --
> DAVID SCRUGGS
> *My protocol: If I'm in the TO: line, you'd like me to respond. If I'm in
> the CC: line, I assume the email is to keep me informed.*
> Principal Platform Solution Engineer | Salesforce
> Mobile: 404-849-0015 <(404)%20849-0015>
> Office: 770-837-0241 <(770)%20837-0241>
> GoToMeeting: https://www.gotomeet.me/DavidScruggs
> <http://www.salesforce.com/signature>
> --
>
>

Mime
View raw message