date --date "10 days" not working in docker image mcr.microsoft.com/azure-cli
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
> ### `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**
Contributor guide
Assessment
This issue has not been assessed yet.