ContainerSolutions / externalsecret-operator

An operator to fetch secrets from cloud services and inject them in Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't build on macOS

sashkachan opened this issue · comments

having issues building on macos

Running make
pulls dependencies, but at the end throws:

Step 9/12 : RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22
 ---> Running in a98a36ee315c
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 2012EA22 from hkp server keys.gnupg.net
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpgkeys: key 3FEF9748469ADBE15DA7CA80AC2D62742012EA22 can't be retrieved
The command '/bin/sh -c gpg --keyserver hkp://keys.gnupg.net --recv-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22' returned a non-zero code: 2
Error: failed to output build image containersol/externalsecret-operator: (failed to exec []string{"docker", "build", "-f", "build/Dockerfile", "-t", "containersol/externalsecret-operator", "."}: exit status 2)
Usage:
  operator-sdk build <image> [flags]

Flags:
      --go-build-args string      Extra Go build arguments as one string such as "-ldflags -X=main.xyz=abc"
  -h, --help                      help for build
      --image-build-args string   Extra image build arguments as one string such as "--build-arg https_proxy=$https_proxy"
      --image-builder string      Tool to build OCI images. One of: [docker, podman, buildah] (default "docker")

Global Flags:
      --verbose   Enable verbose logging

make: *** [build] Error 1

Can't seem to reproduce anymore, even with the fresh docker instance