Browse Source
Merge pull request #100 from nka11/main
fix build Issue found with podman
pull/104/head
Rodolphe Bréard
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
contrib/docker/build-docker.sh
|
@ -31,8 +31,10 @@ docker pull $IMAGE |
|
|
log "Starting container..." |
|
|
log "Starting container..." |
|
|
CID=$(docker run --rm -td $IMAGE) |
|
|
CID=$(docker run --rm -td $IMAGE) |
|
|
|
|
|
|
|
|
|
|
|
docker exec "$CID" mkdir /code |
|
|
|
|
|
|
|
|
log "Copying project files..." |
|
|
log "Copying project files..." |
|
|
docker cp "$DIR" "$CID":/code/ |
|
|
|
|
|
|
|
|
docker cp "$DIR/." "$CID":/code/ |
|
|
|
|
|
|
|
|
log "Starting build..." |
|
|
log "Starting build..." |
|
|
docker exec "$CID" /bin/bash -c "cd /code && cargo build --release" |
|
|
docker exec "$CID" /bin/bash -c "cd /code && cargo build --release" |
|
|