Skip to content

Commit

Permalink
use slim image as runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
tobru committed Sep 11, 2024
1 parent f5e09aa commit c0c09e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.podstatus
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN touch README.md
RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --no-root

### RUNTIME
FROM python:3.12-bookworm as runtime
FROM python:3.12-slim-bookworm as runtime

Check warning on line 19 in Dockerfile.podstatus

View workflow job for this annotation

GitHub Actions / build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN apt-get update && \
apt-get install -y nginx python3-libusb1 && \
Expand Down

0 comments on commit c0c09e5

Please sign in to comment.