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

Some updates for Dockerfile that also fix gnuplot deps. #14

Merged
merged 1 commit into from
Jun 5, 2016

Conversation

CheRuisiBesares
Copy link
Contributor

Hey I was working on some Bosun stuff locally and I was using this box for local development. I noticed that png generation was messed up so I dove in to try and fix that. #11 Ran into a few issues. Here is a summery of some of the changes in this pull request.

  • removing some unneeded layers in the build step. This cuts about 200mbs off the image.
  • added the gnuplot lib from the testing repo. This allows png generation in tsdb
  • added the /tmp dir to the Volume declaration. This prevents unknowing users from writing pngs to union fs.
  • moved the hbase download link to archive.apache.org which is more longterm.

I noticed that there was already a request for some Dockerfile updates so if these changes are already in the pipeline that is totally fine but there were a few issues that I wanted to bring your your attention. 1 The install section of the tsdb makefile is broken on alpine. I think you are aware of this because you just run tsdb from the build directory. Just wanted to cross link the issue here OpenTSDB/opentsdb#707 .

Secondly I noticed that the version of go-dnsmasq slipped a little in the janeczku/alpine-kubernetes:3.2 docker box. It causes issues because you have to add an additional flag to get this box running on boxes without a search domain defined. I put some comments here janeczku/docker-alpine-kubernetes#9 just to get it all documented.

I would love to help get a strong community version of a docker with tsdb with hbase running in it. Let me know how I can help. And thanks for all your work so far.

This tightens up the Dockerfile a little by:
  - removing some unneeded layers in the build step. This cuts about 200mbs off the image.
  - added the gnuplot lib from the testing repo. This allows png generation in tsdb
  - added the `/tmp` dir to the Volume declation. This prevents unknowing users from writing pngs to union fs.
  - moved the hbase download link to archive.apache.org which is more longterm.
@jkrauska
Copy link

jkrauska commented Jun 4, 2016

nice!

@PeterGrace PeterGrace merged commit 7479c99 into PeterGrace:master Jun 5, 2016
@PeterGrace
Copy link
Owner

Thank you very much for this PR; it should build in the docker hub within the next hour or so.

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

Successfully merging this pull request may close these issues.

None yet

3 participants