tweak(file-templates): update dockerfile template

- Preserves file indentation
- Replace deprecated `MAINTAINER` instruction with `LABEL`

Ref: https://docs.docker.com/reference/dockerfile/#maintainer-deprecated
This commit is contained in:
James Liu
2025-08-09 16:38:27 -04:00
committed by GitHub
parent 7f71924d3a
commit 8d60c982f3

View File

@@ -1,4 +1,6 @@
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))
# --
FROM ${1:phusion/baseimage:latest}
MAINTAINER ${2:`user-full-name` <`user-mail-address`>}
LABEL org.opencontainers.image.authors="${2:`user-full-name` <`user-mail-address`>}"
$0