Skip to content

Commit

Permalink
build: fix multi platform mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
autumnjolitz committed Dec 17, 2024
1 parent 49645d3 commit be7f747
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Set up containerd
uses: crazy-max/ghaction-setup-containerd@v2

-
id: image_env
Expand Down Expand Up @@ -78,7 +75,6 @@ jobs:
with:
platforms: |
linux/amd64
linux/arm64/v7
linux/arm64/v8
context: "."
file: Dockerfile.alpine
Expand All @@ -103,7 +99,6 @@ jobs:
with:
platforms: |
linux/amd64
linux/arm64/v7
linux/arm64/v8
context: "."
file: Dockerfile.alpine
Expand Down Expand Up @@ -148,7 +143,6 @@ jobs:
push: true
platforms: |
linux/amd64
linux/arm64/v7
linux/arm64/v8
context: "."
file: Dockerfile.alpine
Expand Down Expand Up @@ -176,7 +170,6 @@ jobs:
context: "."
platforms: |
linux/amd64
linux/arm64/v7
linux/arm64/v8
file: Dockerfile.alpine
cache-to: |
Expand Down Expand Up @@ -213,7 +206,6 @@ jobs:
context: "examples/simple-flask"
platforms: |
linux/amd64
linux/arm64/v7
linux/arm64/v8
cache-from: |
type=gha
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG PYTHON_VERSION=3.12
ARG SOURCE_IMAGE=docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
ARG BASE_IMAGE_DIGEST

FROM --platform=$BUILDPLATFORM ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} AS buildroot
FROM --platform=$TARGETPLATFORM ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} AS buildroot

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.13, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.12, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.10, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.11, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.8, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.8, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.8, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.8, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.8, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.8, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.8, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.8, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (ghcr.io, 3.9, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.13, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.11, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.10, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.8, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.8, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.8, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.8, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.8, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.8, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.8, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.8, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.21, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.21, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.9, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.20, ubuntu-latest)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${SOURCE_IMAGE}@${BASE_IMAGE_DIGEST} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 8 in Dockerfile.alpine

View workflow job for this annotation

GitHub Actions / docker (docker.io, 3.12, 3.20, ubuntu-latest)

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
ARG PYTHON_VERSION=3.12

ARG BUILD_ROOT='/dest'
Expand Down
4 changes: 2 additions & 2 deletions examples/simple-flask/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#syntax=docker/dockerfile:1
ARG SOURCE_IMAGE=autumnjolitz/distroless-python:3.12-alpine3.20

FROM --platform=$BUILDPLATFORM ${SOURCE_IMAGE}-buildroot AS buildroot
FROM --platform=$TARGETPLATFORM ${SOURCE_IMAGE}-buildroot AS buildroot

ADD requirements.txt .

Expand All @@ -11,7 +11,7 @@ RUN python -m pip install \
-r requirements.txt

ARG SOURCE_IMAGE=autumnjolitz/distroless-python:3.12-alpine3.20
FROM --platform=$BUILDPLATFORM ${SOURCE_IMAGE}
FROM --platform=$TARGETPLATFORM ${SOURCE_IMAGE}

EXPOSE 8080

Expand Down

0 comments on commit be7f747

Please sign in to comment.