Skip to content

Commit

Permalink
Remove cmake from our Dockerfile
Browse files Browse the repository at this point in the history
Hopefully this will prevent Couchbase from being rebuilt by Meteor/NPM.
Once rebuilt, it takes up a large amount of space in the image.
  • Loading branch information
ian-noaa committed Aug 23, 2023
1 parent 9504837 commit c0b6907
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ ENV METEOR_PACKAGE_DIRS=/MATScommon/meteor_packages
# Assume we're passed the repo root as build context
COPY apps/${APPNAME}/package*.json ${APP_SOURCE_FOLDER}/

RUN apt-get update && apt-get install --assume-yes --no-install-recommends cmake && \
bash ${SCRIPTS_FOLDER}/build-app-npm-dependencies.sh
RUN bash ${SCRIPTS_FOLDER}/build-app-npm-dependencies.sh

# Copy app & MATScommon library source into container
COPY apps/${APPNAME} ${APP_SOURCE_FOLDER}/
Expand Down

0 comments on commit c0b6907

Please sign in to comment.