title: Make docker file from local image?
body: <p>I have docker file which make image.</p>
  <pre><code>FROM public.ecr.aws/lambda/python:3.9
  
  RUN export LANG=en_US.UTF-8
  RUN export PYTHONUNBUFFERED=1 
  </code></pre>
  <p><code>docker build -f dockers/mydocker -t python .</code></p>
  <p>then I would like to make images from this image.</p>
  <p>There are listed image named basic <code>docker images</code></p>
  <p>Then in another Dockerfile.</p>
  <pre><code>FROM python
  ADD ./Pipfile* ./
  RUN pipenv install --ignore-pipfile 
  </code></pre>
  <p>When I try to build this dockerfile</p>
  <p>There comes like this</p>
  <p><code>FROM docker.io/library/python  </code></p>
  <p>Does this mean I can use local image to build next image?</p>
  <p>I need to make local repository for this purpose ??</p>
  <p>Or any other way to do this??</p>