Skip to content
This repository was archived by the owner on Jul 27, 2026. It is now read-only.

use COPY --chown=hubot:hubot over ADD - #302

Open
robbyoconnor wants to merge 1 commit into
RocketChat:masterfrom
robbyoconnor:patch-1
Open

use COPY --chown=hubot:hubot over ADD#302
robbyoconnor wants to merge 1 commit into
RocketChat:masterfrom
robbyoconnor:patch-1

Conversation

@robbyoconnor

Copy link
Copy Markdown

COPY should be used over ADD and use "--chown=hubot:hubot" to get around the permissions hacks of the past.

cc: @Sing-Li @geekgonecrazy

[COPY should be used over ADD](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy) and use "--chown=hubot:hubot" to get around the permissions hacks of the past.
Comment thread Dockerfile
@geekgonecrazy

Copy link
Copy Markdown
Contributor

Thanks for contributing that. We have a PR open here #289 that is related and completely revamps things

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants