You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ptp-tools/README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,23 @@
1
-
# PTP Tools - Container Image Builder
1
+
# PTP Tools
2
+
3
+
## Build Commit Labels
4
+
5
+
All CI images built from these Dockerfiles include an `io.openshift.build.commit.url` label that points to the exact commit of the source code compiled into the image:
6
+
7
+
-**Dockerfile.lptpd**: Points to the linuxptp-daemon commit from github.com/k8snetworkplumbingwg/linuxptp-daemon
8
+
-**Dockerfile.cep**: Points to the cloud-event-proxy commit from github.com/redhat-cne/cloud-event-proxy
9
+
-**Dockerfile.krp**: Points to the kube-rbac-proxy commit from github.com/openshift/kube-rbac-proxy
10
+
-**Dockerfile.ptpop**: Points to the ptp-operator commit from github.com/k8snetworkplumbingwg/ptp-operator
11
+
12
+
The commit hash is automatically captured during the build process from the cloned/copied repository.
13
+
14
+
### Overriding Commit Hash
15
+
16
+
You can optionally override the commit hash by passing it as a build argument:
17
+
18
+
```bash
19
+
make build-image VAR=lptpd COMMIT_HASH=abc123def456
20
+
``` - Container Image Builder
2
21
3
22
This directory contains tools and scripts for building all container images required to run the PTP operator.
0 commit comments