Skip to content

Commit

Permalink
Merge pull request #1774 from ehallein/master
Browse files Browse the repository at this point in the history
Fixed GPU docker build
  • Loading branch information
pierotofy authored Jul 5, 2024
2 parents 186b4c9 + 8ce00e0 commit 5c30ea1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-docker-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
timeout-minutes: 2880
steps:
- name: Checkout
Expand All @@ -36,4 +36,4 @@ jobs:
- name: Dispatch NodeODM Build Event
id: nodeodm_dispatch
run: |
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/OpenDroneMap/NodeODM/actions/workflows/publish-docker-gpu.yaml/dispatches --data '{"ref": "master"}'
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/OpenDroneMap/NodeODM/actions/workflows/publish-docker-gpu.yaml/dispatches --data '{"ref": "master"}'
4 changes: 3 additions & 1 deletion gpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ COPY --from=builder /code /code

# Copy the Python libraries installed via pip from the builder
COPY --from=builder /usr/local /usr/local

#COPY --from=builder /usr/lib/x86_64-linux-gnu/libavcodec.so.58 /usr/lib/x86_64-linux-gnu/libavcodec.so.58
RUN apt-get update -y \
&& apt-get install -y ffmpeg
# Install shared libraries that we depend on via APT, but *not*
# the -dev packages to save space!
# Also run a smoke test on ODM and OpenSfM
Expand Down

0 comments on commit 5c30ea1

Please sign in to comment.