Skip to content

Commit

Permalink
chore: update base image, dependencies, build action
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Aug 14, 2024
1 parent 7ba8325 commit fc53ebe
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
submodules: "recursive"

- name: Run Bento build action
uses: bento-platform/bento_build_action@v0.11.1
uses: bento-platform/bento_build_action@v1.0.0
with:
registry: ghcr.io
registry-username: ${{ github.actor }}
Expand Down
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.12

# Use uvicorn (instead of hypercorn) in production since I've found
# multiple benchmarks showing it to be faster - David L
RUN pip install --no-cache-dir -U pip && pip install --no-cache-dir "uvicorn[standard]==0.30.5"
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.14

WORKDIR /authorization

Expand Down
4 changes: 1 addition & 3 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.12

RUN pip install --no-cache-dir -U pip && pip install --no-cache-dir "uvicorn[standard]==0.30.5"
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.14

WORKDIR /authorization

Expand Down
16 changes: 8 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bento_authz = "bento_authorization_service.cli:main_sync"
[tool.poetry.dependencies]
python = "^3.10"
aiodns = "^3.2.0"
aiofiles = "^23.2.1"
aiofiles = "^24.1.0"
aiohttp = "^3.10.3"
asyncpg = "^0.29.0"
bento-lib = {extras = ["fastapi"], version = "^11.12.0"}
Expand Down

0 comments on commit fc53ebe

Please sign in to comment.