-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add licenses and labeling to the UBI images to conform to the RH
container catalog requirements. Signed-off-by: Jacques Grove <[email protected]>
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 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 |
---|---|---|
|
@@ -82,6 +82,21 @@ ENV PATH $VTROOT/bin:$PATH | |
# Copy artifacts from builder layer. | ||
COPY --from=builder --chown=vitess:vitess /vt/install /vt | ||
|
||
RUN mkdir -p /licenses | ||
COPY LICENSE /licenses | ||
|
||
# Create mount point for actual data (e.g. MySQL data dir) | ||
VOLUME /vt/vtdataroot | ||
USER vitess | ||
|
||
LABEL name="Vitess Lite image - MySQL Community Server 5.7" \ | ||
io.k8s.display-name="Vitess Lite image - MySQL Community Server 5.7" \ | ||
maintainer="[email protected]" \ | ||
vendor="CNCF" \ | ||
version="6.0.0" \ | ||
release="1" \ | ||
summary="Vitess base container image, containing Vitess components along with MySQL Community Server 5.7" \ | ||
description="Vitess base container image, containing Vitess components along with MySQL Community Server 5.7" \ | ||
io.k8s.description="Vitess base container image, containing Vitess components along with MySQL Community Server 5.7" \ | ||
distribution-scope="public" \ | ||
url="https://vitess.io" |
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 |
---|---|---|
|
@@ -83,6 +83,21 @@ ENV MYSQL_FLAVOR MySQL80 | |
# Copy artifacts from builder layer. | ||
COPY --from=builder --chown=vitess:vitess /vt/install /vt | ||
|
||
RUN mkdir -p /licenses | ||
COPY LICENSE /licenses | ||
|
||
# Create mount point for actual data (e.g. MySQL data dir) | ||
VOLUME /vt/vtdataroot | ||
USER vitess | ||
|
||
LABEL name="Vitess Lite image - MySQL Community Server 8.0" \ | ||
io.k8s.display-name="Vitess Lite image - MySQL Community Server 8.0" \ | ||
maintainer="[email protected]" \ | ||
vendor="CNCF" \ | ||
version="6.0.0" \ | ||
release="1" \ | ||
summary="Vitess base container image, containing Vitess components along with MySQL Community Server 8.0" \ | ||
description="Vitess base container image, containing Vitess components along with MySQL Community Server 8.0" \ | ||
io.k8s.description="Vitess base container image, containing Vitess components along with MySQL Community Server 8.0" \ | ||
distribution-scope="public" \ | ||
url="https://vitess.io" |
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 |
---|---|---|
|
@@ -73,6 +73,21 @@ ENV PATH $VTROOT/bin:$PATH | |
# Copy artifacts from builder layer. | ||
COPY --from=builder --chown=vitess:vitess /vt/install /vt | ||
|
||
RUN mkdir -p /licenses | ||
COPY LICENSE /licenses | ||
|
||
# Create mount point for actual data (e.g. MySQL data dir) | ||
VOLUME /vt/vtdataroot | ||
USER vitess | ||
|
||
LABEL name="Vitess Lite image - Percona Server 5.7" \ | ||
io.k8s.display-name="Vitess Lite image - Percona Server 5.7" \ | ||
maintainer="[email protected]" \ | ||
vendor="CNCF" \ | ||
version="6.0.0" \ | ||
release="1" \ | ||
summary="Vitess base container image, containing Vitess components along with Percona Server 5.7" \ | ||
description="Vitess base container image, containing Vitess components along with Percona Server 5.7" \ | ||
io.k8s.description="Vitess base container image, containing Vitess components along with Percona Server 5.7" \ | ||
distribution-scope="public" \ | ||
url="https://vitess.io" |
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 |
---|---|---|
|
@@ -78,6 +78,21 @@ ENV MYSQL_FLAVOR MySQL80 | |
# Copy artifacts from builder layer. | ||
COPY --from=builder --chown=vitess:vitess /vt/install /vt | ||
|
||
RUN mkdir -p /licenses | ||
COPY LICENSE /licenses | ||
|
||
# Create mount point for actual data (e.g. MySQL data dir) | ||
VOLUME /vt/vtdataroot | ||
USER vitess | ||
|
||
LABEL name="Vitess Lite image - Percona Server 8.0" \ | ||
io.k8s.display-name="Vitess Lite image - Percona Server 8.0" \ | ||
maintainer="[email protected]" \ | ||
vendor="CNCF" \ | ||
version="6.0.0" \ | ||
release="1" \ | ||
summary="Vitess base container image, containing Vitess components along with Percona Server 8.0" \ | ||
description="Vitess base container image, containing Vitess components along with Percona Server 8.0" \ | ||
io.k8s.description="Vitess base container image, containing Vitess components along with Percona Server 8.0" \ | ||
distribution-scope="public" \ | ||
url="https://vitess.io" |