Skip to content

Miscellaneous Docker tweaks and fixes#302

Merged
robertbartel merged 9 commits intoNOAA-OWP:masterfrom
robertbartel:i/old240/docker_tweaks
Mar 22, 2023
Merged

Miscellaneous Docker tweaks and fixes#302
robertbartel merged 9 commits intoNOAA-OWP:masterfrom
robertbartel:i/old240/docker_tweaks

Conversation

@robertbartel
Copy link
Copy Markdown
Contributor

  • Fix fast-debug enabling logic data-service image's entrypoint script
  • Add optional debug support and fix entrypoint setup for subset-service Docker service
  • Add evaluation-related environment variables to Docker service configuration of request-service, and update entrypoint script to utilize these
  • Fix strange issue with DockerFile for S3FS volume helper, where (suddenly?) the scripts/ directory wasn't being copied recursively
  • Add OS dependency geos-dev to py-deps image
  • Adding some examples to example.env related to the dmod.client package
  • Fix bug in scripts/init_object_store_dataset_volumes.sh for the script's sentinel command line arg

Note that this PR partially replaces #240, in that it is composed of changes extracted from that PR for easier reviewing and merging.

Fixing logic where pip installs the updated packages (to avoid the
entire image rebuild), so make sure deps are ignored (as this was the
slow part).
Adding Docker environment variables to support remote PyCharm debugging,
and removing explicit `entrypoint` setting in main stack deployment
service config to ensure the included entrypoint.sh script is used.
Fixing issue where somehow (despite this working before) the scripts
directory was not recursively being copied (i.e., just the top-level).
Adding the now-required dependency to list of installed apk packages in
foundation stage of py-deps image.
@robertbartel robertbartel added bug Something isn't working enhancement New feature or request maas MaaS Workstream labels Mar 15, 2023
Copy link
Copy Markdown
Member

@aaraney aaraney left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@robertbartel robertbartel merged commit df3f468 into NOAA-OWP:master Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request maas MaaS Workstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants