Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

Add prebuild, postbuild & postinstall hooks #13

Open
aedm opened this issue Feb 25, 2017 · 1 comment
Open

Add prebuild, postbuild & postinstall hooks #13

aedm opened this issue Feb 25, 2017 · 1 comment

Comments

@aedm
Copy link
Owner

aedm commented Feb 25, 2017

If there is a docker-preinstall.sh next to the Dockerfile, MiniMeteor should run it as a build step before meteor build. Similarly, docker-postbuild.sh should optionally run after meteor build, and docker-postinstall should run after npm install.

This way users can install additional apt packages and execute custom build steps.

@awatson1978
Copy link

Use case:
Running meteor platform-remove ios so Mac binaries are bundled into a meteor app before being put into a docker image that will run on AWS Linux.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants