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

Dockerfile improvements: size, verbosity and style #360

Merged
merged 1 commit into from May 22, 2022
Merged

Dockerfile improvements: size, verbosity and style #360

merged 1 commit into from May 22, 2022

Conversation

pataquets
Copy link
Contributor

  • Size: add --no-cache switch. Not useful on build, Docker's build caching is responsible of caching.
  • Add some -v switches here and there to add verbosity and provide helpful info when troubleshooting.
  • Move export statement to an ARG Docker clause, valid for all the build (only in its own FROM scope).

* Size: add `--no-cache` switch. Not useful on build, Docker's build caching is responsible of caching.
* Add some `-v` switches here and there to add verbosity and provide helpful info when troubleshooting.
* Move `export` statement to an `ARG` Docker clause, valid for all the build (only in its own `FROM` scope).
Copy link
Owner

@gilesknap gilesknap left a comment

Choose a reason for hiding this comment

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

Thanks for contributing.

I'll approve this pending a discussion on ARG and environment

.devcontainer/Dockerfile Show resolved Hide resolved
.devcontainer/Dockerfile Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 22, 2022

Codecov Report

Merging #360 (09793b9) into main (62e958f) will decrease coverage by 1.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #360      +/-   ##
==========================================
- Coverage   89.21%   88.09%   -1.13%     
==========================================
  Files          25       25              
  Lines        1957     1957              
==========================================
- Hits         1746     1724      -22     
- Misses        211      233      +22     
Impacted Files Coverage Δ
src/gphotos_sync/Utils.py 89.65% <0.00%> (-5.18%) ⬇️
src/gphotos_sync/Main.py 83.58% <0.00%> (-5.13%) ⬇️
src/gphotos_sync/GooglePhotosDownload.py 79.89% <0.00%> (-2.02%) ⬇️
src/gphotos_sync/Checks.py 98.44% <0.00%> (-1.56%) ⬇️
src/gphotos_sync/GooglePhotosMedia.py 83.33% <0.00%> (-1.39%) ⬇️
src/gphotos_sync/LocalData.py 88.73% <0.00%> (-0.94%) ⬇️

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 62e958f...09793b9. Read the comment docs.

@gilesknap gilesknap merged commit 349c6e7 into gilesknap:main May 22, 2022
@gilesknap
Copy link
Owner

Merging - thanks for contribution.

@pataquets pataquets deleted the patch-1 branch May 23, 2022 22:03
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

2 participants