Skip to content
This repository was archived by the owner on Aug 17, 2020. It is now read-only.
This repository was archived by the owner on Aug 17, 2020. It is now read-only.

Docker Image Throws Permission Error if Goad Container not Already Cached #200

@cjwilburn

Description

@cjwilburn

I've been using Goad in a Docker container for several months now. The currently cached configuration works, and I used it as a way to avoid errors when attempting to build from source. When members of my team attempted to pull, and build the goad Docker container, respectively, they got the following errors:

Step 7/10 : RUN make linux64
 ---> Running in 803e5c0cd52c
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
touch: invalid date format 'data/lambda'
touch: invalid date format 'data/lambda/index.js'
touch: invalid date format 'data/lambda/goad-lambda'
  adding: index.js (deflated 54%)
  adding: goad-lambda (deflated 71%)
fatal: Not a git repository (or any of the parent directories): .git
Usage: go-bindata [options] <input directories>
invalid value "-nocompress" for flag -modtime: strconv.ParseInt: parsing "-nocompress": invalid syntax
  -debug
        Do not embed the assets, but provide the embedding API. Contents will still be loaded from disk.
  -dev
        Similar to debug, but does not emit absolute paths. Expects a rootDir variable to already exist in the generated code's package.
  -ignore value
        Regex pattern to ignore
  -mode uint
        Optional file mode override for all files.
  -modtime int
        Optional modification unix timestamp override for all files.
  -nocompress
        Assets will *not* be GZIP compressed when this flag is specified.
  -nomemcopy
        Use a .rodata hack to get rid of unnecessary memcopies. Refer to the documentation to see what implications this carries.
  -nometadata
        Assets will not preserve size, mode, and modtime info.
  -o string
        Optional name of the output file to be generated. (default "./bindata.go")
  -pkg string
        Package name to use in the generated code. (default "main")
  -prefix string
        Optional path prefix to strip off asset names.
  -tags string
        Optional set of build tags to include.
  -version
        Displays version information.
make: *** [bindata] Error 2
Makefile:47: recipe for target 'bindata' failed
The command '/bin/sh -c make linux64' returned a non-zero code: 2

When attempting to pull from the goad container registry, it also appears that it no longer exists in the place where it's expected, or that the repo was made private:

Unable to find image 'goad:latest' locally
docker: Error response from daemon: pull access denied for goad, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions