-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add license to ubi based images for certification request
- Loading branch information
1 parent
9332217
commit 478b7d5
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,13 +36,15 @@ LABEL \ | |
org.opencontainers.image.authors="Yan Sun <[email protected]>" \ | ||
org.opencontainers.image.vendor="Advanced Micro Devices, Inc." \ | ||
org.opencontainers.image.licenses="Apache-2.0" | ||
RUN dnf install -y ca-certificates libdrm && \ | ||
RUN mkdir -p /licenses && \ | ||
dnf install -y ca-certificates libdrm && \ | ||
rpm --import https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official && \ | ||
dnf install -y 'dnf-command(config-manager)' && \ | ||
dnf config-manager --add-repo=https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/ && \ | ||
dnf config-manager --add-repo=https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/ && \ | ||
dnf install -y hwloc && \ | ||
dnf clean all | ||
ADD ./LICENSE /licenses/LICENSE | ||
WORKDIR /root/ | ||
COPY --from=builder /go/bin/k8s-device-plugin . | ||
CMD ["./k8s-device-plugin", "-logtostderr=true", "-stderrthreshold=INFO", "-v=5"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters