Ben Kochie
458455245f
Fix Dockerfile entrypoint ( #4976 )
...
* Fix Dockerfile entrypoint
Fix WORKDIR and use symlink to setup working defaults for config flags.
Signed-off-by: Ben Kochie <superq@gmail.com>
* Collapse Dockrefile RUNs
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-12-10 09:19:01 +01:00
Junyu Wang
2f93fa6292
Included default flags into Dockerfile entrypoint ( #4796 )
...
* included default flags into Dockerfile entrypoint
Signed-off-by: Junyu Wang <junyuw@berkeley.edu>
* keeping style consistent
Co-Authored-By: DrakeW <junyuw@berkeley.edu>
Signed-off-by: Junyu Wang <junyuw@berkeley.edu>
* move prometheus.yml config into entrypoint & point to console template/libraries in etc/prometheus
Signed-off-by: Junyu Wang <junyuw@berkeley.edu>
2018-11-16 09:17:32 +01:00
Tariq Ibrahim
c7693f6c68
Fix Dockerfile label syntax
...
Signed-off-by: Tariq Ibrahim <tariq.ibrahim@microsoft.com>
2018-08-26 19:43:53 -07:00
Fabian Reinartz
377a549fe6
Fix command line flags in Dockerfile
2017-07-13 12:14:49 +02:00
Fabian Reinartz
24e9deac71
Merge pull request #2859 from Gouthamve/docker-nobody
...
Dockerfile: Run as nobody
2017-07-05 16:13:21 +02:00
Goutham Veeramachaneni
b2f7c8d842
Use user nobody in Dockerfile
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-06-19 15:03:39 +05:30
Benjamin
51626f2573
change deprecated maintainer to label ( #2724 )
2017-05-29 15:58:40 +02:00
Victor Palma
721ed3fb41
run as prometheus user insted of root
2016-10-18 10:49:20 -05:00
Jimmi Dyson
bf6d92c63a
Docker: Move console dirs to /usr/share/prometheus
2016-07-29 14:00:47 +01:00
Marios Andreopoulos
3f07a6b9d0
Fix consoles and console_libraries path in Dockerfile.
2016-05-30 01:02:38 +03:00
Fabian Reinartz
e15c35431b
build: push to Dockerhub and Quay
2016-04-24 12:16:53 +02:00
Steve Durrheimer
8688cf2579
New release process using docker, circleci and a centralized
...
building tool
2016-04-18 22:41:04 +02:00
Fabian Reinartz
c8a092ebcc
Add goenv script and fix Docker
2015-09-18 10:28:15 +02:00
Fabian Reinartz
ad64474076
Update Readme for new Makefile
2015-09-17 19:08:05 +02:00
Steve Durrheimer
2b025c0f49
New dockerfile using alpine-glibc base image and make
2015-07-07 21:57:58 +02:00
Steve Durrheimer
785736c742
Fix Dockerfile with the removal of tools/rulechecker
2015-06-25 20:59:55 +02:00
Julius Volz
c69b733956
Simplify Go dependency handling in Dockerfile.
...
Also, put quotes around the GOPATH in the Makefile for safety in case of
spaces, etc.
2015-06-23 23:58:09 +02:00
Steve Durrheimer
166365f4f0
Fix Dockerfile with the recent changes
2015-06-21 19:53:09 +02:00
Steve Durrheimer
f61ffb4fc0
Fix Dockerfile with recent embed-static.sh/go-bindata change
2015-06-12 18:19:25 +02:00
Fabian Reinartz
027d8968d5
Move embed-static.sh into scripts folder
2015-06-01 21:12:32 +02:00
Johannes 'fish' Ziemke
6a2983c615
Rename refs to prometheus.conf -> prometheus.yml
2015-05-22 15:25:18 +00:00
Johannes 'fish' Ziemke
fb3b464f7d
Write rule_checker to /bin/rule_checker
2015-04-24 17:29:42 +02:00
Johannes 'fish' Ziemke
166f492a0e
Remove /etc/prometheus from volume definition
2015-04-24 16:12:31 +02:00
Steve Durrheimer
af99960974
Small size docker image refactoring
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2015-04-23 21:56:01 +02:00
Steve Durrheimer
77ddbad97f
Duplicated packages already present in inherited images (mercurial => buildpack-deps:jessie-scm, gcc => golang:1.4)
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2015-04-14 10:01:28 +02:00
Steve Durrheimer
5a284257f0
Better package cache cleanup
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2015-04-14 09:36:34 +02:00
Tom Prince
6874377e9b
Use docker volume to store metric data
2015-03-03 16:34:35 -07:00
Sam
ddc065b943
Clean fetched package cache
...
To further reduce image size
2015-02-11 11:23:35 +11:00
Johannes 'fish' Ziemke
44b5843518
Set console paths correctly
2015-01-28 19:52:32 +01:00
Bjoern Rabenstein
5859b74f1b
Clean up license issues.
...
- Move CONTRIBUTORS.md to the more common AUTHORS.
- Added the required NOTICE file.
- Changed "Prometheus Team" to "The Prometheus Authors".
- Reverted the erroneous changes to the Apache License.
2015-01-21 20:07:45 +01:00
Johannes 'fish' Ziemke
8a7289ce55
Use golang base image and not make
...
Instead of using make to install all dependencies, this uses the golang
base image. This way those common base layers can be shared across other
golang based images.
This also stops using the Makefile to install the dependencies because
we would have to install all dependencies everytime something changes.
Change-Id: I5e143cc4ec3e5c9027ec4912be12297e704ffff5
2015-01-14 17:54:08 +01:00
Johannes 'fish' Ziemke
a6e320a88c
Installing gcc as rule_checker and procfs dep
...
Change-Id: I370e9192a6bfd9275dd6f4b4c0f35c6675cfb75f
2015-01-11 14:26:30 +01:00
Peter Bourgon
88019e852a
Use ENTRYPOINT and CMD
2014-12-04 20:47:17 +01:00
Peter Bourgon
ec4182c8c7
Remove newline at end of Dockerfile
2014-12-03 15:02:37 +01:00
Peter Bourgon
dde4209144
Fix Dockerfile for new repo layout
2014-12-03 14:53:35 +01:00
Johannes 'fish' Ziemke
034f6bb2be
Build prometheus tools as well
...
Change-Id: I49d5ca4d6ff715e8a6631caf052de309b91b0b1b
2014-07-10 14:46:36 +02:00
Johannes 'fish' Ziemke
d085de5a69
Add vim-common for xxd required by embed-static.sh
...
Change-Id: Ie1c108dd49d0bbbbcdcd90719a192718ec46d2e4
2014-06-04 17:31:42 +02:00
Johannes 'fish' Ziemke
5e8026779f
Make Dockerfile build prometheus in container
...
This way the binary will be built in a clear environment and prometheus
can be added to the docker index.
Change-Id: I417fb90adf2503c990a96f4bad370b09b102e0b9
2014-02-14 11:47:47 +01:00
Johannes 'fish' Ziemke
b5cc4c6cc8
Fix entrypoint and use base image
2013-08-12 11:19:35 +02:00
Johannes 'fish' Ziemke
1c9ae08e80
Add Dockerfile
2013-08-12 11:02:50 +02:00