Browse Source

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 year ago
parent
commit
205e8093c2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      create_dockerfile.sh

+ 2 - 2
create_dockerfile.sh

@@ -41,13 +41,13 @@ create_dockerfile() {
   cat >"${DOCKERFILE}" <<EOF
 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
 # 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
 # old cached versions when the Dockerfile is built.
-ENV REFRESHED_AT ${DATE}
+ENV REFRESHED_AT=${DATE}
 EOF
 
 if ${archived} ; then