这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@michaelshobbs
Copy link
Member

  • documents Dockerfile deployments
  • exposes $DOKKU_DOCKERFILE_CACHE_BUILD for specific control of --no-cache on docker build
  • exposes $DOKKU_DOCKER_BUILD_OPTS for injection of any docker build option
  • sources $DOKKU_ROOT/$APP/ENV on dokku build

Copy link
Contributor

Choose a reason for hiding this comment

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

can be had => typo?

@Flink
Copy link
Contributor

Flink commented Jun 15, 2015

Is DOKKU_DOCKERFILE_CACHE_BUILD really useful since DOKKU_DOCKER_BUILD_OPTS seems to be a better way to achieve the same thing (and more flexible)?

@hhff
Copy link
Contributor

hhff commented Jun 15, 2015

👍

@michaelshobbs michaelshobbs force-pushed the 1231_mh-dockerfile-build-cache-control branch from a162a48 to ea66619 Compare June 15, 2015 16:00
@michaelshobbs
Copy link
Member Author

@Flink $DOKKU_DOCKERFILE_CACHE_BUILD is meant to be an easy "on/off switch" and $DOKKU_DOCKER_BUILD_OPTS is for more "advanced" purposes. The former seems easiest for those not wanting to know about the specifics of the docker cli.

@Flink
Copy link
Contributor

Flink commented Jun 15, 2015

@michaelshobbs Ok works for me 😉 👍

michaelshobbs added a commit that referenced this pull request Jun 15, 2015
…-control

allow passing of docker build options and document dockerfile deployment. closes #1231
@michaelshobbs michaelshobbs merged commit 6ebb897 into master Jun 15, 2015
@josegonzalez josegonzalez deleted the 1231_mh-dockerfile-build-cache-control branch June 16, 2015 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants