Skip to content

Commit 99123fa

Browse files
authored
Merge pull request #11 from juanluisvaladas/add-image-labels
Add license and source labels to Dockerfile
2 parents aa8d1a5 + f9405eb commit 99123fa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ COPY src/cni-node /bin/cni-node
4141

4242

4343
FROM scratch
44+
LABEL org.opencontainers.image.licenses="Apache-2.0" \
45+
org.opencontainers.image.source="https://github.com/k0sproject/cni-node"
4446
COPY --from=baselayout / /
4547
ARG VERSION
4648
COPY --from=bins /go/plugins-$VERSION/bin/ /opt/cni/bin/

0 commit comments

Comments
 (0)