Skip to content

Commit

Permalink
fix LegacyKeyValueFormat warnings
Browse files Browse the repository at this point in the history
> 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"
  • Loading branch information
linuxmaniac committed Sep 5, 2024
1 parent c302ccd commit 205e809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_dockerfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ create_dockerfile() {
cat >"${DOCKERFILE}" <<EOF
FROM ${docker_tag}
LABEL org.opencontainers.image.authors Victor Seva <linuxmaniac@torreviejawireless.org>
LABEL org.opencontainers.image.authors="Victor Seva <linuxmaniac@torreviejawireless.org>"
# 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
Expand Down

0 comments on commit 205e809

Please sign in to comment.