Skip to content

Commit

Permalink
chore: Bump to latest build base version in Dockerfile (#115)
Browse files Browse the repository at this point in the history
Made with ❤️️ by updatecli

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Oct 10, 2024
1 parent 13f8dd2 commit 1b56f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BCI_IMAGE=registry.suse.com/bci/bci-base
ARG GO_IMAGE=rancher/hardened-build-base:v1.22.7b1
ARG GO_IMAGE=rancher/hardened-build-base:v1.22.8b1
FROM --platform=$BUILDPLATFORM tonistiigi/xx AS xx
FROM --platform=$TARGETPLATFORM ${BCI_IMAGE} as bci

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-arm64

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 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-arm64

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/
FROM --platform=$TARGETPLATFORM ${GO_IMAGE} as builder

Check warning on line 5 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-arm64

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 5 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-arm64

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/
Expand Down

0 comments on commit 1b56f69

Please sign in to comment.