Commit Graph
22 Commits
Author SHA1 Message Date
Ciprian Hacman d88694fbd1 Update Go to v1.21.3 2023-10-31 08:10:06 +02:00
Ciprian Hacman 0d276ac19f Update Go to v1.21.1 2023-09-15 09:06:52 +03:00
Ciprian Hacman e9922b0da7 Fix docker build for multi-arch 2023-09-14 13:13:01 +03:00
Kubernetes Prow RobotandGitHub 8ec3f36293 Merge pull request #744 from miguelbernadi/patch-1
Remove godep as it's not actually used
2023-05-17 00:30:33 -07:00
Mike Miranda d229082e26 Update Docker image to Go 1.20.3 2023-04-11 18:55:37 +00:00
Miguel Bernabeu DiazandGitHub a7adf55137 Remove godep as it's not actually used 2023-03-22 10:07:57 +01:00
Varsha Teratipally e8b55acc2b update golang to 1.20 2023-02-09 20:36:36 +00:00
Dan Bryant 7f0a62683e fixup extra packages for installation 2023-01-05 09:43:24 +00:00
Varsha Teratipally 8f9c5bbabb fix dockerfile 2022-08-01 21:55:53 +00:00
Kubernetes Prow RobotandGitHub 2d5de8d0fa Merge pull request #684 from acumino/multi-arch-image
Create multi-arch image
2022-07-26 12:03:10 -07:00
Kubernetes Prow RobotandGitHub 51508603fe Merge pull request #616 from com6056/patch-1
Install systemd in docker image
2022-04-24 13:49:37 -07:00
Kay Yan bc89bbce56 MAINTAINER in Dockerfile is deprecated, change to label
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2022-03-07 15:27:08 +08:00
Kelvie Wong 363d01392a Create multi-arch image
For linux arm64 and amd64, as per #586.

I moved the builder image into the same dockerfile, and bumped the Go
version on it. It didn't seem like the builder dockerfile worked with
the latest code anyway (the go modules require go 1.15 and higher).

This requires a recent enough docker install with buildx, as well as
an arm64 builder.

BASEIMAGE is changed to not specify an arch, so that the image will
build on its native arch in buildx.

Example image is on docker hub as:

    kelvie/node-problem-detector:v0.8.10-5-gb0fa610
2022-02-13 01:23:31 -08:00
Jordan RodgersandGitHub 760d252808 Only need systemd 2021-09-03 17:11:48 -07:00
Jordan RodgersandGitHub 0de6fae1f8 Install curl and systemd in docker image
A few issues have popped up where the provided image doesn't have the required packages for certain health checking operations (like https://github.com/kubernetes/node-problem-detector/issues/584#issuecomment-885832078).

This installs curl and systemd in the container to help alleviate these issues.
2021-09-03 16:46:08 -07:00
Jeremy Edwards aadb16b3d4 Remove Dockerfile.in rewrite hack and use updated arg in Dockerfile 2020-12-08 06:31:29 +00:00
Random-Liu e39476300a Update Makefile to support compile journald support 2017-01-19 01:59:09 -08:00
Random-Liu 6637139441 Add release tar ball support. 2017-01-13 11:13:59 -08:00
Random-Liu d93804f340 Fix the dockerfile to use the right binary. 2016-12-21 11:54:08 -08:00
Euan Kemp 8cdf7b1790 makefile: Make misc improvements
* Add test target and re-use in travis
* Add timeout test target
* Build binary into ./bin folder
* Phony everything
2016-11-21 16:39:01 -08:00
Lantao Liu 1e4d6e2800 Add entrypoint and copy kernel monitor config into docker image 2016-06-03 13:34:44 -07:00
Lantao Liu f0312655bd Add first version of node-problem-detector 2016-05-17 15:55:33 -07:00