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

Fix some Docker warnings #1626

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

pjonsson
Copy link
Contributor

Reason for this pull request

Fix the warnings emitted by recent Docker releases.

Proposed changes

Fix the warnings, and bring together all the ENV lines into a single layer to save a little bit of space in the produced image.

  • Closes #xxxx
  • Tests added / passed
  • Fully documented, including docs/about/whats_new.rst for all changes

This fixes the warning:

FromAsCasing: 'as' and 'FROM' keywords' casing do not match

emitted by recent Docker releases.
This fixes the warning:

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format

emitted by recent Docker releases.

And while changing this, bring all the ENV
lines into a single layer, which saves
some space in the resulting image.
Copy link

codecov bot commented Aug 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.78%. Comparing base (81b4a31) to head (3de187d).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1626   +/-   ##
========================================
  Coverage    91.78%   91.78%           
========================================
  Files          132      132           
  Lines        14640    14640           
========================================
  Hits         13437    13437           
  Misses        1203     1203           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SpacemanPaul SpacemanPaul merged commit 78dc217 into opendatacube:develop Sep 3, 2024
18 of 19 checks passed
@pjonsson pjonsson deleted the fix-docker-warnings branch September 3, 2024 07:14
SpacemanPaul added a commit that referenced this pull request Sep 20, 2024
SpacemanPaul added a commit that referenced this pull request Sep 20, 2024
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