Skip to content

[MySQL] Add Dockerfile and instructions for Cloud Run #1745

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

Merged
merged 3 commits into from
Nov 19, 2019
Merged

Conversation

averikitsch
Copy link
Contributor

Added new dependencies because of annoying logging warning.

@averikitsch averikitsch requested review from grayside, kurtisvg and a team November 18, 2019 17:23
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 18, 2019

# Copy local code to the container image.
WORKDIR /app
COPY pom.xml .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for copying the POM separate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been doing it across all samples in order to reduce the change of copying over files that aren't needed.

@@ -64,14 +64,24 @@
<artifactId>HikariCP</artifactId>
<version>3.4.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these added?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was an annoying logging warning about slf4j not being found. Though it doesn't break anything it was distracting. I can remove if needed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, was just curious.

@averikitsch averikitsch merged commit 3dabdb2 into master Nov 19, 2019
@averikitsch averikitsch deleted the mysql branch November 19, 2019 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants