]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Resolves the casing warning in newer Docker versions
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Sat, 22 Jun 2024 18:30:06 +0000 (11:30 -0700)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Sat, 22 Jun 2024 18:30:06 +0000 (11:30 -0700)
Dockerfile

index 4d53a0cc471b9224ce961a23d780029ed8b9bc2d..bb32a9817b7bc30febbf58f04402fb55ff1b9406 100644 (file)
@@ -21,7 +21,7 @@ RUN set -eux \
 # Comments:
 #  - pipenv dependencies are not left in the final image
 #  - pipenv can't touch the final image somehow
-FROM --platform=$BUILDPLATFORM docker.io/python:3.11-alpine as pipenv-base
+FROM --platform=$BUILDPLATFORM docker.io/python:3.11-alpine AS pipenv-base
 
 WORKDIR /usr/src/pipenv
 
@@ -37,7 +37,7 @@ RUN set -eux \
 # Purpose: The final image
 # Comments:
 #  - Don't leave anything extra in here
-FROM docker.io/python:3.11-slim-bookworm as main-app
+FROM docker.io/python:3.11-slim-bookworm AS main-app
 
 LABEL org.opencontainers.image.authors="paperless-ngx team <hello@paperless-ngx.com>"
 LABEL org.opencontainers.image.documentation="https://docs.paperless-ngx.com/"