Skip to content

Instantly share code, notes, and snippets.

@zeitounator
Created September 6, 2021 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeitounator/c55f0acbfafc493b27c2506aae943a83 to your computer and use it in GitHub Desktop.
Save zeitounator/c55f0acbfafc493b27c2506aae943a83 to your computer and use it in GitHub Desktop.
:/tmp$ git clone git@github.com:sathishsoundharajan/ansible-repro.git
Cloning into 'ansible-repro'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 17 (delta 1), reused 16 (delta 0), pack-reused 0
Receiving objects: 100% (17/17), done.
Resolving deltas: 100% (1/1), done.
:/tmp$ cd ansible-repro/
✔ /tmp/ansible-repro [main {origin/main}|✔]
21:58 $ docker-compose -f build/docker-compose.dev.yml up
Creating network "build_default" with the default driver
Pulling redis (redis:5.0)...
5.0: Pulling from library/redis
a330b6cecb98: Pull complete
14bfbab96d75: Pull complete
8b3e2d14a955: Pull complete
4a5768b461bc: Pull complete
59b264a02740: Pull complete
fe842fc77a96: Pull complete
Digest: sha256:6aa31467e60f57a15427ab847752cc075d3218f70ba5fb6c913c4b9c09b61c95
Status: Downloaded newer image for redis:5.0
Building postgres
Sending build context to Docker daemon 78.85kB
Step 1/2 : FROM postgres:10.17-buster
---> 75528f27a248
Step 2/2 : COPY ../deploy-scripts/db-schema/global /docker-entrypoint-initdb.d/
COPY failed: forbidden path outside the build context: ../deploy-scripts/db-schema/global ()
ERROR: Service 'postgres' failed to build : Build failed
✘-1 /tmp/ansible-repro [main {origin/main}|✔]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment