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

Dockerfile: upgrade to fedora:39 #117

Merged
merged 2 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.9"
- uses: fedora-python/tox-github-action@v38.0
- uses: fedora-python/tox-github-action@v39.0
with:
tox_env: flake8
dnf_install: krb5-devel
- uses: fedora-python/tox-github-action@v38.0
dnf_install: gcc krb5-devel
- uses: fedora-python/tox-github-action@v39.0
with:
tox_env: safety
dnf_install: krb5-devel
- uses: fedora-python/tox-github-action@v38.0
dnf_install: gcc krb5-devel
- uses: fedora-python/tox-github-action@v39.0
with:
tox_env: bandit
dnf_install: krb5-devel
dnf_install: gcc krb5-devel

testing:
runs-on: ubuntu-latest
Expand All @@ -40,7 +40,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.9"
- uses: fedora-python/tox-github-action@v38.0
- uses: fedora-python/tox-github-action@v39.0
with:
tox_env: py39
dnf_install: krb5-devel
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.fedoraproject.org/fedora:38
FROM registry.fedoraproject.org/fedora:39

LABEL maintainer="Factory 2 Team" \
description="A microservice triggered by specific message to tag a build." \
Expand All @@ -21,6 +21,7 @@ COPY . .
RUN docker/install-dependencies.sh $rcm_tools_repo_file

RUN sed -i '/^koji==/,/--hash=\S*$/d' requirements.txt
RUN sed -i '/^koji==.*$/d' requirements-no-hashes.txt
RUN python3 -m pip install --no-deps .

# Mount to a directory holding the MTS config file
Expand Down
3 changes: 3 additions & 0 deletions dev-requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
-r requirements.txt

bandit
flake8
mock
pip-tools
pytest
pytest-cov
safety
Loading
Loading