Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run.sh referencing missing scripts #4

Open
YipYup opened this issue Feb 10, 2024 · 3 comments
Open

run.sh referencing missing scripts #4

YipYup opened this issue Feb 10, 2024 · 3 comments

Comments

@YipYup
Copy link

YipYup commented Feb 10, 2024

# docker run --name overpass-server -v $DB_DIR:/overpass/db -e init_from_clone=geo osm3s-server
./run.sh: line 20: bin/download_clone.sh: not found
./run.sh: line 26: bin/dispatcher: not found
./run.sh: line 29: bin/fetch_osc_and_apply.sh: not found
@fabio-thoma
Copy link

same here

@drolbr
Copy link
Owner

drolbr commented Nov 3, 2024

Thank you for reporting the issue. Unfortunately, I cannot reproduce it here.

Have you run docker build and have you seen any error messages there?
Have you set $DB_DIR to the directory where the Overpass database shall be located?

@hoswmph
Copy link

hoswmph commented Dec 12, 2024

Hi

this is my output:
`
[+] Building 1.1s (10/11) docker:default
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 353B 0.0s
=> [internal] load metadata for docker.io/library/alpine:latest 0.6s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [build 1/4] FROM docker.io/library/alpine:latest@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 2.28kB 0.0s
=> CACHED [build 2/4] RUN apk add g++ make expat expat-dev zlib-dev lz4-dev bash 0.0s
=> CACHED [build 3/4] COPY build.sh ./build.sh 0.0s
=> CACHED [stage-1 2/4] RUN apk add libstdc++ expat lz4-dev bash 0.0s
=> CACHED [stage-1 3/4] COPY run.sh ./run.sh 0.0s
=> ERROR [build 4/4] RUN ./build.sh 0.3s

[build 4/4] RUN ./build.sh:
0.245 /bin/sh: ./build.sh: Permission denied


Dockerfile:4

2 | RUN apk add g++ make expat expat-dev zlib-dev lz4-dev bash
3 | COPY build.sh ./build.sh
4 | >>> RUN ./build.sh
5 |
6 | FROM alpine

ERROR: failed to solve: process "/bin/sh -c ./build.sh" did not complete successfully: exit code: 126
`

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

No branches or pull requests

4 participants