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

enable people to build image with dockerfile directly #89

Merged
merged 3 commits into from Nov 3, 2020

Conversation

wyTrivail
Copy link
Contributor

Description:

Modify the dockerfile, so that people can directly use it to build image with building binary in front.

Testing:

Tested on local

@codecov-io
Copy link

Codecov Report

Merging #89 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #89   +/-   ##
=======================================
  Coverage   75.36%   75.36%           
=======================================
  Files           4        4           
  Lines          69       69           
=======================================
  Hits           52       52           
  Misses          9        9           
  Partials        8        8           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6948530...2e012db. Read the comment docs.

COPY go.mod /workspace/go.mod
COPY go.sum /workspace/go.sum
COPY VERSION /workspace/VERSION
COPY .git /workspace/.git
Copy link
Member

Choose a reason for hiding this comment

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

is it needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, it's needed, we need .git to get latest commit hash, version to get version

@wyTrivail wyTrivail merged commit 6e0c7a6 into main Nov 3, 2020
JasonXZLiu pushed a commit to open-o11y/aws-otel-collector that referenced this pull request Nov 19, 2020
@pingleig pingleig deleted the changedockerfile branch March 3, 2021 20:44
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.

None yet

4 participants