Skip to content

Failed with make build-and-upload #995

@fm-chen

Description

@fm-chen

Hi,

I followed the instruction to host e2b on gcp, for the step "make build-and-upload", I got:

------
Dockerfile:9
--------------------
   7 |     
   8 |     COPY .shared/go.mod .shared/go.sum ./
   9 | >>> RUN go mod download
  10 |     
  11 |     COPY .shared/pkg pkg
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c go mod download" did not complete successfully: exit code: 2
make[1]: *** [build-and-upload] Error 1
make: *** [build-and-upload/api] Error 2

Any help will be greatly appreciated!

Packer v1.14.0
go version go1.24.5 darwin/arm64

terraform --version
Terraform v1.5.7
on darwin_arm64

Docker version 28.1.1-rd, build 4d7f01e

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