Skip to content

Commit

Permalink
Merge pull request #1910 from vinayakankugoyal/setcap
Browse files Browse the repository at this point in the history
Fix formatting of README file.
  • Loading branch information
k8s-ci-robot authored Feb 13, 2021
2 parents 092fd02 + adce5b6 commit e1aa7aa
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions images/build/setcap/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
setcap
### setcap

This image is based on debian-base and installs the libcap2-bin package. The
main use of this image is to apply `CAP_NET_BIND_SERVICE` to the kube-apiserver
binary so that it can a bind to ports less than 1024 and still be run as non
root.

This image is compiled for multiple architectures.

How to release
### How to release

If you're editing the Dockerfile or some other thing, please bump the TAG in the Makefile.

Build and push images for all the architectures
Build and push images for all the architectures:

```console
$ make all-push
# ---> staging-k8s.gcr.io/setcap-amd64:TAG
# ---> staging-k8s.gcr.io/setcap-arm:TAG
# ---> staging-k8s.gcr.io/setcap-arm64:TAG
# ---> staging-k8s.gcr.io/setcap-ppc64le:TAG
# ---> staging-k8s.gcr.io/setcap-s390x:TAG
If you don't want to push the images, run `make sub-build-{target_arch}` or `make all-build` instead
```

If you don't want to push the images, run `make sub-build-{target_arch}` or `make all-build` instead

0 comments on commit e1aa7aa

Please sign in to comment.