Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1680

jwtproxy build needs golang deps not accessible from Brew

XMLWordPrintable

    • False
    • False
    • Undefined

      JWT proxy build needs access to https://proxy.golang.org/github.com/%21sirupsen/logrus/@v/v0.11.5.mod during the build, which is not allowed by Brew:

      2021-03-23 02:22:55,452 - atomic_reactor.plugins.imagebuilder - INFO - --> RUN adduser appuser &&     CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o jwtproxy cmd/jwtproxy/main.go
      2021-03-23 02:22:55,810 - atomic_reactor.plugins.imagebuilder - INFO - go: github.com/Sirupsen/logrus@v0.11.5: Get "https://proxy.golang.org/github.com/%21sirupsen/logrus/@v/v0.11.5.mod": dial tcp 172.217.8.17:443: connect: connection refused
      2021-03-23 02:22:56,079 - atomic_reactor.plugins.imagebuilder - INFO - running 'adduser appuser &&     CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o jwtproxy cmd/jwtproxy/main.go' failed with exit code 1
      2021-03-23 02:22:56,080 - atomic_reactor.plugin - ERROR - Build step plugin imagebuilder failed: image build failed (rc=1): running 'adduser appuser &&     CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o jwtproxy cmd/jwtproxy/main.go' failed with exit code 1
      

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: