docs: add a warning concerning the addition of layers to herokuish-based images that are deployed via the tags plugin
This commit is contained in:
1 parent
4a3707d36d
commit
95469f472e
1 file changed
+2
@@ -67,6 +67,8 @@ dokku/node-js-app v1 936a42f25901 About a minute ago
|
|||||||
|
|
||||||
Finally, you can also deploy a local image using the `tags:deploy` command. When specifying a tag that is not `latest`, the released image will be retagged as the `latest` image tag for the app.
|
Finally, you can also deploy a local image using the `tags:deploy` command. When specifying a tag that is not `latest`, the released image will be retagged as the `latest` image tag for the app.
|
||||||
|
|
||||||
|
> Warning: For images based on herokuish, using the `tags:deploy` subcommand will reset environment variables written into the image, causing a retag to occur. This will - on average - add two extra layers to your deployed image. Note that this does not affect dockerfile-based images, which are the majority of images deployed via the `tags` command.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku tags:deploy node-js-app v1
|
dokku tags:deploy node-js-app v1
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user