Skip to content

Commit

Permalink
Remove GOROOT=/usr/lib/golang hack (#148)
Browse files Browse the repository at this point in the history
Supposedly this was fixed in the mariner go packages (though I've not
verified that). In any case, I believe the main reason the bug in the
packages was exposed was due to the way the mariner toolkit was
executing the package builds.

This is no longer a problem for us, so removing these.

Signed-off-by: Brian Goff <[email protected]>
  • Loading branch information
cpuguy83 authored Feb 21, 2024
1 parent 13302e8 commit 6cc37f0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion docs/examples/go-md2man-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ dependencies:

build:
env:
GOROOT: /usr/lib/golang # Note: This is needed due to a bug in the golang package for mariner
CGO_ENABLED: "0"
steps:
- command: |
Expand Down
1 change: 0 additions & 1 deletion docs/examples/go-md2man-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ dependencies:

build:
env:
GOROOT: /usr/lib/golang # Note: This is needed due to a bug in the golang package for mariner
CGO_ENABLED: "0"
steps:
- command: |
Expand Down
2 changes: 0 additions & 2 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ dependencies:
build:
env:
GOROOT: /usr/lib/golang # Note: This is needed due to a bug in the golang package for mariner
CGO_ENABLED: "0"
steps:
- command: |
Expand Down Expand Up @@ -231,7 +230,6 @@ dependencies:

build:
env:
GOROOT: /usr/lib/golang # Note: This is needed due to a bug in the golang package for mariner
CGO_ENABLED: "0"
steps:
- command: |
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ build:
GOGC: off
GOFLAGS: -trimpath
GOPATH: /go
GOROOT: /usr/lib/golang
steps:
- command: |
export GOMODCACHE="$(pwd)/gomodcache"
Expand Down
2 changes: 0 additions & 2 deletions test/fixtures/moby-runc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,10 @@ build:
CGO_ENABLED: 1
GOGC: off
GOFLAGS: -trimpath
GOROOT: /usr/lib/golang
steps:
- command: |
set -e
cd src
export GOROOT=/usr/lib/golang
make man runc BUILDTAGS=seccomp
artifacts:
binaries:
Expand Down

0 comments on commit 6cc37f0

Please sign in to comment.