Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image #789

Closed
evanp opened this issue Aug 24, 2013 · 16 comments
Closed

Docker image #789

evanp opened this issue Aug 24, 2013 · 16 comments
Milestone

Comments

@evanp
Copy link
Contributor

evanp commented Aug 24, 2013

We need a docker.io image.

@nnn-gif
Copy link

nnn-gif commented Mar 28, 2014

docker pump image
https://index.docker.io/u/niktrix/docker-pump.io/

@prologic
Copy link

  • We need to make things configurable via docker run -e.
  • We should use the Alpine base image.

@adundovi
Copy link

Here I wrote a minimal example based on the Alpine image and an external JSON config file:

FROM    alpine:3.5
LABEL maintainer [email protected]

ENV     LC_ALL en_US.UTF-8

RUN apk add --no-cache nodejs git python make g++ graphicsmagick
RUN npm install -g databank-mongodb
RUN npm install -g pump.io
RUN adduser -D -g "" pumpio

ADD     pump.io.json /etc/

EXPOSE  8080
CMD  ["/usr/bin/pump"]

@strugee
Copy link
Member

strugee commented Mar 18, 2017

@adundovi I'd like the Docker image to be something officially maintained by the pump.io project - that means in some "official" namespace on Docker Hub and maintained in-tree, in sync with the rest of the codebase. If you're willing to maintain this long-term as a member of the project I'd be thrilled if you submitted a PR so that we can iterate on it and get that going.

@adundovi
Copy link

@strugee Well, I would like to contribute with that, but I am still fighting with different kind of "500 Internal Server Error" issues and there is no sense to submit anything if the stuff is not working. To add, I am not skillful with nodejs, which is making things harder to debug, thus I do not know if the bugs lie in my particular setup or in the pump.io code. If I will have the basic feature set working I will certainly polish and publish the docker code.

@strugee
Copy link
Member

strugee commented Mar 19, 2017

@adundovi nonsense! PRs are a great way to get feedback on work-in-progress implementations. I regularly submit half-baked PRs to get early feedback on stuff :)

If you send a PR I can try to reproduce your 500 errors locally and try and find where the problem is. Just prefix the title with [WIP] or something.

@strugee
Copy link
Member

strugee commented Mar 26, 2017

@adundovi are you still interested in doing this?

@adundovi
Copy link

@strugee Here I put something to start with, but I don't know which repo is appropriate for the PR?

@strugee
Copy link
Member

strugee commented Mar 27, 2017

@adundovi probably this one? I'm not familiar with Docker so I dunno if that'll make things difficult - if so we can create a separate repo. But I think we should aim for this one if possible

@nnn-gif
Copy link

nnn-gif commented Mar 27, 2017 via email

@strugee
Copy link
Member

strugee commented Mar 27, 2017

@Niktrix that Dockerfile seems really old... it's installing MongoDB from a third-party repo (which is unnecessary), it doesn't allow configuration, and it would be nice to base it on the Alpine image, so the image is smaller

@strugee
Copy link
Member

strugee commented Mar 27, 2017

@adundovi @Niktrix if one of you is interested in writing a modern Dockerfile that we can officially accept and sending a Pull Request including it, please say so. Otherwise I think I'll just write one myself

@nnn-gif
Copy link

nnn-gif commented Mar 28, 2017

@strugee we dont have bandwidth to do so, thanks

@adundovi
Copy link

@Niktrix I used your Dockerfile as a starting point for mine.
@strugee I made a PR #1307 (this one is with the Alpine image)

@Serkan-devel
Copy link

Is there a docker image for the raspberry pi (3)?

@strugee
Copy link
Member

strugee commented Oct 30, 2017

@Serkan-devel you should feel free to build one yourself using the Dockerfile in this repository, but we are not officially distributing Docker images yet due to #1418.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants