You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "kokila-19 (via GitHub)" <gi...@apache.org> on 2026/02/23 04:33:00 UTC
[PR] HIVE-29065: Fix Dockerfile warnings - FromAsCasing and InvalidDefault… [hive]
kokila-19 opened a new pull request, #6332:
URL: https://github.com/apache/hive/pull/6332
…ArgInFrom
What changes were proposed in this pull request?
In the Dockerfile, Match the case for all keywords (UPPER CASE).
Default value for BUILD_ENV argument. "FROM" determines the base image for the build and arg BUILD_ENV is used here. If it is empty/invalid , the image will not be created. So docker lint checks for this issue. To avoid it, a default value needs to set.
Why are the changes needed?
To remove the warnings thrown during docker build.
```
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 19)
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 24)
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 36)
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 47)
=> WARN: InvalidDefaultArgInFrom: Default value for ARG ${BUILD_ENV} results in empty or invalid base image name (line 47)
```
Does this PR introduce any user-facing change?
No
How was this patch tested?
Create the docker image using build script for both hive and hms image.
./build.sh
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
Re: [PR] HIVE-29065: Fix Dockerfile warnings - FromAsCasing and InvalidDefault… [hive]
Posted by "kokila-19 (via GitHub)" <gi...@apache.org>.
kokila-19 commented on PR #6332:
URL: https://github.com/apache/hive/pull/6332#issuecomment-4028779464
Thank you for the approval @ayushtkn @okumin .
Can you please merge this ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
Re: [PR] HIVE-29065: Fix Dockerfile warnings - FromAsCasing and InvalidDefault… [hive]
Posted by "ayushtkn (via GitHub)" <gi...@apache.org>.
ayushtkn merged PR #6332:
URL: https://github.com/apache/hive/pull/6332
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
Re: [PR] HIVE-29065: Fix Dockerfile warnings - FromAsCasing and InvalidDefault… [hive]
Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #6332:
URL: https://github.com/apache/hive/pull/6332#issuecomment-3942770095
## [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=6332) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=6332&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=6332&issueStatuses=ACCEPTED)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=6332&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=6332&metric=new_coverage&view=list)
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=6332&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=6332)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
Re: [PR] HIVE-29065: Fix Dockerfile warnings - FromAsCasing and InvalidDefault… [hive]
Posted by "kokila-19 (via GitHub)" <gi...@apache.org>.
kokila-19 commented on PR #6332:
URL: https://github.com/apache/hive/pull/6332#issuecomment-4002634693
@ayushtkn @okumin Could you please review this ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org