az feedback auto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
date command is not working when we create the base docker image from mcr.microsoft.com/azure-cli
command: date --date "10 days"
it throws error invalid date 10 days
Dockerfile
FROM mcr.microsoft.com/azure-cli
RUN date --date "10 days"
To Reproduce
Create dockerfile as below and then build it
FROM mcr.microsoft.com/azure-cli
RUN date --date "10 days"
Expected behavior
should display the output with date 10 days later that current date
Environment summary
Docker image
Additional context
Describe the bug
date command is not working when we create the base docker image from mcr.microsoft.com/azure-cli
command: date --date "10 days"
it throws error invalid date 10 days
Dockerfile
FROM mcr.microsoft.com/azure-cli
RUN date --date "10 days"
To Reproduce
Create dockerfile as below and then build it
FROM mcr.microsoft.com/azure-cli
RUN date --date "10 days"
Expected behavior
should display the output with date 10 days later that current date
Environment summary
Docker image
Additional context