Skip to content

Remove code path for deprecated $ docker build #67

Description

@joonas-fi

We have two different code paths:

  1. modern $ docker buildx
  2. legacy $ docker build

turbobob/cmd/bob/build.go

Lines 188 to 192 in 0e6e5bc

// use buildx when platforms set. it's almost same as "$ docker build" but it almost transparently
// supports cross-architecture builds via binftm_misc + QEMU userspace emulation
useBuildx := len(dockerImage.Platforms) > 0
if useBuildx {

Remove 2 so we only have one code path left.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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