Hi!
The Dockerfile placed at "Dockerfile" contains the best practice violation DL3003 detected by the hadolint tool.
The smell DL3003 occurs if the pattern RUN cd ... is used to change directories instead of the dedicated WORKDIR instruction.
This pull request proposes a fix for that smell generated by my fixing tool. The patch was manually verified before opening the pull request. To fix this smell, specifically, the pattern RUN cd ... is replaced with the equivalent WORKDIR instruction.
This change is only aimed at fixing that specific smell. If the fix is not valid or useful, please briefly indicate the reason and suggestions for possible improvements.
Thank you and the change looks good to me! This Docker job is not really actively maintained anymore but we still appreciate your efforts. I'll merge it soon.
Hi! The Dockerfile placed at "Dockerfile" contains the best practice violation DL3003 detected by the hadolint tool.
The smell DL3003 occurs if the pattern
RUN cd ...
is used to change directories instead of the dedicated WORKDIR instruction. This pull request proposes a fix for that smell generated by my fixing tool. The patch was manually verified before opening the pull request. To fix this smell, specifically, the patternRUN cd ...
is replaced with the equivalent WORKDIR instruction.This change is only aimed at fixing that specific smell. If the fix is not valid or useful, please briefly indicate the reason and suggestions for possible improvements.
Thanks in advance