瀏覽代碼

fix LegacyKeyValueFormat warnings

> LegacyKeyValueFormat: "LABEL key=value" should be used instead of legacy "LABEL key value"
> LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value"
Victor Seva 1 年之前
父節點
當前提交
205e8093c2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      create_dockerfile.sh

+ 2 - 2
create_dockerfile.sh

@@ -41,13 +41,13 @@ create_dockerfile() {
   cat >"${DOCKERFILE}" <<EOF
   cat >"${DOCKERFILE}" <<EOF
 FROM ${docker_tag}
 FROM ${docker_tag}
 
 
-LABEL org.opencontainers.image.authors Victor Seva <[email protected]>
+LABEL org.opencontainers.image.authors="Victor Seva <[email protected]>"
 
 
 # Important! Update this no-op ENV variable when this Dockerfile
 # Important! Update this no-op ENV variable when this Dockerfile
 # is updated with the current date. It will force refresh of all
 # is updated with the current date. It will force refresh of all
 # of the base images and things like 'apt-get update' won't be using
 # of the base images and things like 'apt-get update' won't be using
 # old cached versions when the Dockerfile is built.
 # old cached versions when the Dockerfile is built.
-ENV REFRESHED_AT ${DATE}
+ENV REFRESHED_AT=${DATE}
 EOF
 EOF
 
 
 if ${archived} ; then
 if ${archived} ; then