Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

SAS Viya - running on a single container - build error - certificates #62

Open
roblinr opened this issue Nov 5, 2021 · 0 comments
Open

Comments

@roblinr
Copy link

roblinr commented Nov 5, 2021

Describe the bug
I am following the instructions for deploying a single container inside Docker on a MacBook.

The Dockerfile within the container recipe contains the following command, which errors:

RUN go get -x -u gopkg.in/yaml.v2 github.com/docker/docker/api/types github.com/docker/docker/client

It seems to fail due to a certificate error, so can the code be amended so it does not error please?

To Reproduce
Run the standard build command in the instructions.
./build.sh --type single --zip ~/path/to/SAS_Viya_deployment_data.zip --addons "auth-demo"

Expected behavior
I expected it to run as expected.

Screenshots

===============================
Building Docker Build Container

./build.sh: line 268: getent: command not found
[+] Building 51.6s (8/19)

=> [internal] load build definition from Dockerfile
0.0s
=> => transferring dockerfile: 37B
0.0s
=> [internal] load .dockerignore
0.0s
=> => transferring context: 34B
0.0s
=> [internal] load metadata for docker.io/library/golang:1.14.0
2.6s
=> [auth] library/golang:pull token for registry-1.docker.io
0.0s
=> [internal] load build context
0.3s
=> => transferring context: 30.76kB
0.2s
=> [ 1/14] FROM docker.io/library/golang:1.14.0@sha256:a2919ec3e75deeea8a7a972bef833d9b9546d3ca93f5ef44009750e814172d8d
0.0s
=> CACHED [ 2/14] RUN apt-get update && apt-get install -y openjdk-11-jdk-headless ansible && rm -rf
/var/lib/apt/lists/* 0.0s
=> ERROR [ 3/14] RUN go get -x -u gopkg.in/yaml.v2 github.com/docker/docker/api/types github.com/docker/docker/client
48.8s

[ 3/14] RUN go get -x -u gopkg.in/yaml.v2 github.com/docker/docker/api/types github.com/docker/docker/client:

#7 1.200 # get https://gopkg.in/yaml.v2?go-get=1

#7 1.559 # get https://gopkg.in/yaml.v2?go-get=1: Get "https://gopkg.in/yaml.v2?go-get=1": x509: certificate signed by unknown
authority
#7 1.559 unrecognized import path "gopkg.in/yaml.v2": https fetch: Get "https://gopkg.in/yaml.v2?go-get=1": x509: certificate
signed by unknown authority
#7 1.560 cd .

#7 1.560 git clone -- https://github.com/docker/docker /go/src/github.com/docker/docker
#7 47.76 cd /go/src/github.com/docker/docker
#7 47.76 git submodule update --init --recursive
#7 47.80 cd /go/src/github.com/docker/docker
#7 47.80 git show-ref
#7 47.81 cd /go/src/github.com/docker/docker
#7 47.81 git submodule update --init --recursive
#7 48.21 cd /go/src/github.com/docker/docker
#7 48.21 git config remote.origin.url
#7 48.21 cd /go/src/github.com/docker/docker
#7 48.21 git config remote.origin.url
#7 48.21 cd /go/src/github.com/docker/docker
#7 48.21 git config remote.origin.url
#7 48.22 cd /go/src/github.com/docker/docker
#7 48.22 git config remote.origin.url
#7 48.22 cd /go/src/github.com/docker/docker
#7 48.22 git config remote.origin.url
#7 48.22 cd /go/src/github.com/docker/docker
#7 48.22 git config remote.origin.url
#7 48.22 cd /go/src/github.com/docker/docker
#7 48.22 git config remote.origin.url
#7 48.23 cd /go/src/github.com/docker/docker
#7 48.23 git config remote.origin.url
#7 48.23 cd /go/src/github.com/docker/docker
#7 48.23 git config remote.origin.url
#7 48.23 cd /go/src/github.com/docker/docker
#7 48.23 git config remote.origin.url
#7 48.23 cd /go/src/github.com/docker/docker
#7 48.23 git config remote.origin.url
#7 48.23 cd /go/src/github.com/docker/docker
#7 48.23 git config remote.origin.url
#7 48.23 cd /go/src/github.com/docker/docker
#7 48.23 git config remote.origin.url
#7 48.24 cd /go/src/github.com/docker/docker
#7 48.24 git config remote.origin.url
#7 48.24 cd /go/src/github.com/docker/docker
#7 48.24 git config remote.origin.url
#7 48.24 cd /go/src/github.com/docker/docker
#7 48.24 git config remote.origin.url
#7 48.43 cd /go/src/github.com/docker/docker
#7 48.43 git config remote.origin.url
#7 48.44 cd /go/src/github.com/docker/docker
#7 48.44 git config remote.origin.url
#7 48.45 cd /go/src/github.com/docker/docker
#7 48.45 git config remote.origin.url
#7 48.45 cd /go/src/github.com/docker/docker
#7 48.45 git config remote.origin.url
#7 48.45 cd /go/src/github.com/docker/docker
#7 48.45 git config remote.origin.url
#7 48.45 cd /go/src/github.com/docker/docker
#7 48.45 git config remote.origin.url
#7 48.45 cd /go/src/github.com/docker/docker
#7 48.45 git config remote.origin.url
#7 48.46 cd /go/src/github.com/docker/docker
#7 48.46 git config remote.origin.url
#7 48.46 cd /go/src/github.com/docker/docker
#7 48.46 git config remote.origin.url
#7 48.46 cd /go/src/github.com/docker/docker
#7 48.46 git config remote.origin.url
#7 48.46 cd /go/src/github.com/docker/docker
#7 48.46 git config remote.origin.url
#7 48.47 cd /go/src/github.com/docker/docker
#7 48.47 git config remote.origin.url
#7 48.47 cd /go/src/github.com/docker/docker
#7 48.47 git config remote.origin.url
#7 48.47 cd /go/src/github.com/docker/docker
#7 48.47 git config remote.origin.url
#7 48.47 cd /go/src/github.com/docker/docker
#7 48.47 git config remote.origin.url
#7 48.48 cd /go/src/github.com/docker/docker
#7 48.48 git config remote.origin.url
#7 48.48 cd /go/src/github.com/docker/docker
#7 48.48 git config remote.origin.url
#7 48.48 cd /go/src/github.com/docker/docker
#7 48.48 git config remote.origin.url
#7 48.48 cd /go/src/github.com/docker/docker
#7 48.48 git config remote.origin.url
#7 48.49 cd /go/src/github.com/docker/docker
#7 48.49 git config remote.origin.url
#7 48.49 cd /go/src/github.com/docker/docker
#7 48.49 git config remote.origin.url
#7 48.49 cd /go/src/github.com/docker/docker
#7 48.49 git config remote.origin.url
#7 48.49 cd /go/src/github.com/docker/docker
#7 48.49 git config remote.origin.url
#7 48.49 cd /go/src/github.com/docker/docker
#7 48.49 git config remote.origin.url
#7 48.50 cd /go/src/github.com/docker/docker
#7 48.50 git config remote.origin.url
#7 48.50 cd /go/src/github.com/docker/docker
#7 48.50 git config remote.origin.url
#7 48.50 cd /go/src/github.com/docker/docker
#7 48.50 git config remote.origin.url
#7 48.51 cd /go/src/github.com/docker/docker
#7 48.51 git config remote.origin.url
#7 48.51 cd /go/src/github.com/docker/docker
#7 48.51 git config remote.origin.url
#7 48.51 cd /go/src/github.com/docker/docker
#7 48.51 git config remote.origin.url

executor failed running [/bin/sh -c go get -x -u gopkg.in/yaml.v2 github.com/docker/docker/api/types
github.com/docker/docker/client]: exit code: 1

Environment (please complete the applicable information):

  • OS: macOS Big Sur
  • Browser: n/a
  • Version: 11.6

Additional context
n/a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant