/
srv
/
osrm
/
osrm-backend
/
docker
/
hooks
/
/srv/osrm/osrm-backend/docker/hooks
mkdir
upload
Name
Size
Mode
Actions
build
544
0644
edit
dl
rm
Edit:
/srv/osrm/osrm-backend/docker/hooks/build
(544B)
#!/bin/sh # We've placed the Dockerfile under docker/ so that the generically named # hooks/ directory doesn't pollute the main directory. Because we need to # COPY the source into the container, we need to use some -f gymnastics to # ensure that "COPY . /src" is referring to the repo root, not the directory # that contains the Dockerfile. # This script gets executed with a pwd of wherever the Dockerfile is. docker build --build-arg BUILD_CONCURRENCY=${CONCURRENCY:-1} --build-arg DOCKER_TAG=${DOCKER_TAG} -t $IMAGE_NAME -f Dockerfile ..
Save
cmd:
run