Skip to content

Commit

Permalink
revert change for ubi
Browse files Browse the repository at this point in the history
  • Loading branch information
MuneebAijaz committed Oct 8, 2024
1 parent 8db2949 commit 715e9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG BASE_IMAGE

FROM --platform=${BUILDPLATFORM} ${BUILDER_IMAGE} as SRC

Check warning on line 4 in Dockerfile.ubi

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/

Check warning on line 4 in Dockerfile.ubi

View workflow job for this annotation

GitHub Actions / Build

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

InvalidDefaultArgInFrom: Default value for ARG ${BUILDER_IMAGE} 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 4 in Dockerfile.ubi

View workflow job for this annotation

GitHub Actions / Build

Stage names should be lowercase

StageNameCasing: Stage name 'SRC' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

FROM ${BASE_IMAGE:-registry.access.redhat.com/ubi9/ubi:latest} as ubi
FROM ${BASE_IMAGE:-registry.access.redhat.com/ubi8/ubi:latest} as ubi

Check warning on line 6 in Dockerfile.ubi

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/
ARG TARGETARCH


Expand Down

0 comments on commit 715e9bd

Please sign in to comment.