Skip to content

build_push_image: Add default Dockerfiles by language

Compare
Choose a tag to compare
@cesarfm cesarfm released this 19 Jun 10:40
· 19 commits to main since this release
b26b3dd

With this addition, we can have "templates" of Dockerfiles for different languages, that will be fetched and used by CircleCI so they don't need to be present in the apps' repositories.
This makes sense because in 99% of the cases all our apps are using a fixed Dockerfile that we just copy around. So this should ease the rollout of newer versions of the Dockerfile.
Of course, it is still possible to provide a Dockerfile in the original app repo, if one exists that one will be used.

NOTE: if you want to use a Dockerfile from a template, you also need to remove the Dockerfile from your repository and add Dockerfile to the repo's .gitignore, to prevent Isopod from throwing a "working directory not clean" error.