Skip to content

Conversation

@pisces-period
Copy link

  • 'RUN' directives concatenated (every 'RUN' command adds another layer to the image, making it heavier - concatenating creates a single layer whilst still running all the necessary commands)
  • Replacing deprecated 'MAINTAINER' with 'LABEL' - mostly cosmetics
  • Ideally the cointainer shouldn't run as root, so it'd be a good idea to use USER ${>1000} (greater than 1000) command so as to run the container as a non-root user; since I haven't thoroughly tested the rest of the code, I'm not adding it here but leaving it as a suggestion

- 'RUN' directives concatenated (every 'RUN' command adds another layer to the image, making it heavier)
- Replacing deprecated 'MAINTAINER' with 'LABEL'
- Ideally the cointainer shouldn't run as root, so it'd be a good idea to use USER ${>1000} (greater than 1000) command so as to run the container as a non-root user; since I haven't thoroughly tested the rest of the code, I'm not adding it here but leaving it as a suggestion
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.

1 participant