Skip to content
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

Merged
merged 5 commits into from
Apr 27, 2020

Conversation

aquarapid
Copy link
Contributor

No description provided.

Comment on lines +25 to +26
# Re-copy sources from working tree.
COPY --chown=vitess:vitess . /vt/src/vitess.io/vitess
Copy link
Contributor

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).

Copy link
Contributor

@morgo morgo left a 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.

Comment on lines +22 to +23
# Allows some docker builds to disable CGO
ARG CGO_ENABLED=0
Copy link
Contributor

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
Copy link
Contributor

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.

@morgo morgo self-requested a review April 27, 2020 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants