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 our container image size #136

Merged
merged 5 commits into from
Sep 1, 2023

Commits on Aug 23, 2023

  1. Remove cmake from our Dockerfile

    Hopefully this will prevent Couchbase from being rebuilt by Meteor/NPM.
    Once rebuilt, it takes up a large amount of space in the image.
    ian-noaa committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    c0b6907 View commit details
    Browse the repository at this point in the history
  2. Update MATScommon

    Use the corrected npm-shrinkwrap.json file.
    ian-noaa committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    e46b410 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Update .dockerignore to exclude .npm directories

    MATS ignores the .npm directory in MATScommon as well. This prevents
    Meteor from using the .npm/packages/npm-shrinkwrap.json file and
    so Meteor pulls in the correct NPM package for the architecture.
    Otherwise, Meteor will try to rebuild from source and greatly increase
    the image size.
    
    Additionally, reorganized the .dockerignore and updated the exclude
    rules to better target artifacts that shouldn't be brought into the
    image.
    ian-noaa committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    37ff46b View commit details
    Browse the repository at this point in the history
  2. Undo CI workarounds

    Reactivate our container image scanning, set the pipeline timeout
    back to 30 minutes, and re-enable fail-fast builds
    ian-noaa committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    2763d07 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a207dd View commit details
    Browse the repository at this point in the history