Docker Community Forums

Share and learn in the Docker community.

Can't get PostgreSQL Dockerfile to work on windows 10?


(Mleejr) #1

Expected behavior

To create instance of Docker PostgreSQL DB

Actual behavior

Fail on copy of file that should be in Dockerfile config

Information

Installation fails here:
Step 14/18 : COPY docker-entrypoint.sh /usr/local/bin/
COPY failed: stat /var/lib/docker/tmp/docker-builder234295255/docker-entrypoint.sh: no such file or directory

Steps to reproduce the behavior

  1. Go to Postgres Docker
  2. Choose the Verison 11 Alpine build
  3. Just run docker build on raw Dockerfile:
    https://github.com/docker-library/postgres/blob/3402e9731098e1cba778c0af82b8d6fdfc698f27/11/alpine/Dockerfile