-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vitess/lite images based on Red Hat UBI 7 #6100
Conversation
Signed-off-by: Jacques Grove <[email protected]>
Signed-off-by: Jacques Grove <[email protected]>
Signed-off-by: Jacques Grove <[email protected]>
# Re-copy sources from working tree. | ||
COPY --chown=vitess:vitess . /vt/src/vitess.io/vitess |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should try and clean up the directory structure since src/vitess.io/vitess is no longer required (it was before the repo structure flattened).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a couple of suggestions w.r.t. cleanup, but otherwise lgtm.
# Allows some docker builds to disable CGO | ||
ARG CGO_ENABLED=0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this, but we should maybe check with others?
ENV VTROOT /vt/src/vitess.io/vitess | ||
ENV VTDATAROOT /vt/vtdataroot | ||
ENV PATH $VTROOT/bin:$PATH | ||
ENV MYSQL_FLAVOR MySQL80 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be possible to remove MYSQL_FLAVOR
. Vitess has been able to autodetect it for a while, but some of the legacy python tests still required it being set.
Signed-off-by: Jacques Grove <[email protected]>
container catalog requirements. Signed-off-by: Jacques Grove <[email protected]>
No description provided.