Coder Social home page Coder Social logo

Add Dockerfile about apache-spark-node HOT 16 CLOSED

henridf avatar henridf commented on July 17, 2024
Add Dockerfile

from apache-spark-node.

Comments (16)

tobilg avatar tobilg commented on July 17, 2024

I can take care of this. Any preference concerning the distribution?

from apache-spark-node.

henridf avatar henridf commented on July 17, 2024

That would be great!

I'm unexperienced when it comes to dockerfiles, but my guess would be to start off from an existing spark or node dockerfile, which means going with whatever distribution that is using (likely standard ubuntu).

Does this make sense?

from apache-spark-node.

tobilg avatar tobilg commented on July 17, 2024

Afaik there's no official Spark image. As it has more dependencies than Node, I'd suggest to start with a Java/Ubuntu base image, and add Node.js later on.

from apache-spark-node.

tobilg avatar tobilg commented on July 17, 2024

Another question is what you expect to be started with the Docker image start. I guess it's bin/spark-node? If so, the Docker container can be used interactively by supplying docker -i ... which would then start the Spark-Node REPL...

from apache-spark-node.

henridf avatar henridf commented on July 17, 2024

Starting bin/spark-node makes sense to me.

from apache-spark-node.

tobilg avatar tobilg commented on July 17, 2024

Good. I think I can finish this tomorrow.

from apache-spark-node.

tobilg avatar tobilg commented on July 17, 2024

I launched an automated build with the Docker Hub at https://hub.docker.com/r/tobilg/spark-node/

from apache-spark-node.

henridf avatar henridf commented on July 17, 2024

I'm assuming the "Full Description" section on the Docker Hub page doesn't automatically update with the readme from the repo? If that assumption is correct, I'd recommend changing it to a (briefer) description of the Docker image itself, with a pointer to the GitHub repo.
(Plus things like the "Requirements" section of the readme don't make sense on the Docker Hub page anyway).

from apache-spark-node.

tobilg avatar tobilg commented on July 17, 2024

Actually, it does auto-update. I'd suggest that you open an account yourself, then you're flexible to change it like you want.

from apache-spark-node.

henridf avatar henridf commented on July 17, 2024

Are you saying I can modify the "Full Description" on https://hub.docker.com/r/tobilg/spark-node/? I have an account but I don't
see a way to do that.

On 27 November 2015 at 12:35, Tobi [email protected] wrote:

Actually, it does auto-update. I'd suggest that you open an account
yourself, then you're flexible to change it like you want.


Reply to this email directly or view it on GitHub
#14 (comment)
.

from apache-spark-node.

tobilg avatar tobilg commented on July 17, 2024

You can only do that if you're the owner of the image. That's why I'm suggesting you should create your own image. I'll retract my image then.

from apache-spark-node.

henridf avatar henridf commented on July 17, 2024

Ah, thanks, that makes sense.

On 27 November 2015 at 13:24, Tobi [email protected] wrote:

You can only do that if you're the owner of the image. That's why I'm
suggesting you should create your own image. I'll retract my image then.


Reply to this email directly or view it on GitHub
#14 (comment)
.

from apache-spark-node.

henridf avatar henridf commented on July 17, 2024

Created image under my docker hub account as per @tobilg's suggestion and pointed README.md to it.

from apache-spark-node.

henridf avatar henridf commented on July 17, 2024

Closing this issue. Thanks @tobilg !

from apache-spark-node.

tobilg avatar tobilg commented on July 17, 2024

What I noted is that I'm still stated as maintainer of the Docker image, and that the description on the Docker Hub is empty. Just to let you know...

from apache-spark-node.

henridf avatar henridf commented on July 17, 2024

Docker Hub description filled.

Re the maintainer in the Dockerfile, I left you as a way to acknowledge that you're the author.

But I could just as well put myself as maintainer and leave a comment right next to it naming you as the original author. What do you prefer?

from apache-spark-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.