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 21:47:54 GMT
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>
> --
>
>

Mime
View raw message