Skip to content

Commit

Permalink
dependencies: change fftw3 to libfftw3-bin (renamed ubuntu package)
Browse files Browse the repository at this point in the history
And change Docker container to ubuntu noble (24.04)
  • Loading branch information
bkueng committed Dec 11, 2024
1 parent d48cfd9 commit 77fe6e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt install -y sqlite3 fftw3 libfftw3-dev
sudo apt install -y sqlite3 libfftw3-bin libfftw3-dev
pip install -r app/requirements.txt
- name : Running Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Flight Review is deployed at https://review.px4.io.
#### Ubuntu

```bash
sudo apt-get install sqlite3 fftw3 libfftw3-dev
sudo apt-get install sqlite3 libfftw3-bin libfftw3-dev
```

**Note:** Under some Ubuntu and Debian environments you might have to
Expand Down
6 changes: 3 additions & 3 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM ubuntu:jammy
FROM ubuntu:noble

COPY requirements.txt requirements.txt

RUN apt-get update && \
apt-get install -y --no-install-recommends apt-utils python3 python3-pip sqlite3 fftw3 python3-setuptools && \
apt-get install -y --no-install-recommends apt-utils python3 python3-pip sqlite3 libfftw3-bin python3-setuptools && \
apt-get install -y --no-install-recommends python3-dev libfftw3-dev git && \
pip3 install --no-cache-dir -r requirements.txt && \
pip3 install --break-system-packages --no-cache-dir -r requirements.txt && \
apt-get remove -y python3-dev libfftw3-dev git && \
apt-get -y autoremove && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 77fe6e5

Please sign in to comment.