Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Error while building on docker windows #30

Closed
klabacher opened this issue Apr 3, 2022 · 0 comments
Closed

Error while building on docker windows #30

klabacher opened this issue Apr 3, 2022 · 0 comments

Comments

@klabacher
Copy link

Already tried everything I could imagine

Version:

  • Docker: version 20.10.13, build a224086
  • Compose: version 1.29.2, build 5becea4c
  • Wsl: 2
  • Windows: 11 21H2 22000.556

Steps

  1. git clone --recursive https://github.com/r3curs1v3-pr0xy/vajra.git
  2. cd .\vajra\
  3. docker-compose up

Error: ```
Creating network "vajra_vajra-network" with the default driver
Creating volume "vajra_couchdb_data" with local driver
Pulling couchdb (couchdb:3.1.1)...
3.1.1: Pulling from library/couchdb
07aded7c29c6: Pull complete
2bf6d2572e5c: Pull complete
73c077881367: Pull complete
20f38611f22a: Pull complete
40b7085d2ce0: Pull complete
8884e223396a: Pull complete
b2be17aa7a19: Pull complete
356eb1ff43b1: Pull complete
6960ebdd0a7e: Pull complete
a92df28681e5: Pull complete
130bc089b183: Pull complete
Digest: sha256:b422509b1648306dee1038f41756a982aefa17f986fa8ba18f6cd80e433dafdf
Status: Downloaded newer image for couchdb:3.1.1
Building vajra
[+] Building 79.8s (20/20) FINISHED
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 795B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:20.04 2.1s
=> [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s
=> [internal] load build context 0.7s
=> => transferring context: 19.48MB 0.6s
=> CACHED [ 1/15] FROM docker.io/library/ubuntu:20.04@sha256:bea6d19168bbfd6af8d77c2cc3c572114eb5d113e6f422573c93cb605a0e2ffb 0.0s
=> [ 2/15] ADD . /app 2.9s
=> [ 3/15] WORKDIR /app 0.1s
=> [ 4/15] RUN sed -i 's/127.0.0.1/couchdb/g' /app/index.js 0.4s
=> [ 5/15] RUN sed -i 's/curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add;//g' /app/install/install.sh 0.5s
=> [ 6/15] RUN sed -i 's/echo "deb https://apache.bintray.com/couchdb-deb focal main" | sudo tee -a /etc/apt/sources.list;//g' /app/install/install.sh 0.5s
=> [ 7/15] RUN sed -i 's/sudo apt update;//g' /app/install/install.sh 0.5s
=> [ 8/15] RUN sed -i 's/sudo apt install -y couchdb;//g' /app/install/install.sh 0.5s
=> [ 9/15] RUN apt-get clean 0.5s
=> [10/15] RUN apt-get update 54.8s
=> [11/15] RUN apt-get install sudo -y 3.4s
=> [12/15] RUN apt-get install wget -y 11.3s
=> [13/15] RUN chmod +x /app/tools/* 0.5s
=> [14/15] RUN chmod +x /app/install/install.sh 0.4s
=> ERROR [15/15] RUN cd /app/install && ./install.sh 0.4s

[15/15] RUN cd /app/install && ./install.sh:
#20 0.426 /bin/sh: 1: ./install.sh: not found

executor failed running [/bin/sh -c cd /app/install && ./install.sh]: exit code: 127
ERROR: Service 'vajra' failed to build : Build failed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant