Skip to content

Requested platform 'linux/amd64' but got 'linux/' #507

@vananiev

Description

@vananiev

I've got error during build

Error:  Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.5.0:build-image (default-cli) on project investbook: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:3.5.0:build-image failed: Image platform mismatch detected. The configured platform 'linux/amd64' is not supported by the image 'docker.io/paketobuildpacks/source-removal:0.2.47'. Requested platform 'linux/amd64' but got 'linux/' -> [Help 1]

with

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
        <layers>
            <enabled>true</enabled>
        </layers>
        <image>
            <env>
                <BP_INCLUDE_FILES>target/classes/application-conf.properties</BP_INCLUDE_FILES>
            </env>
            <builder>paketobuildpacks/builder-jammy-base:0.4.418</builder>
            <buildpacks>
                <buildpack>paketobuildpacks/source-removal:0.2.47</buildpack>
            </buildpacks>
        </image>
    </configuration>
</plugin>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions