Redhat docker image creation


(taewooKim) #1

I want to create a Redhat docker image.
Elastic Search is basically trying to build a source on a feather, because it only provides a cent OS image.
https://www.elastic.co/guide/en/logstash/6.3/docker.html

However, there were many difficulties.
How did jinja2 solve it, but if you do "make" yet, the following error appears.

$ make
ln -sf docker-compose-full.yml docker-compose.yml
docker build -t golang:env2yaml build/golang
Sending build context to Docker daemon  3.072kB
Step 1/4 : FROM golang:1.8
 ---> 0d283eb41a92
Step 2/4 : RUN go get gopkg.in/yaml.v2
 ---> Running in dfd58d7e3796
package gopkg.in/yaml.v2: unrecognized import path "gopkg.in/yaml.v2" (https fetch: Get https://gopkg.in/yaml.v2?go-get=1: dial tcp 35.196.143.184:443: i/o timeout)
The command '/bin/sh -c go get gopkg.in/yaml.v2' returned a non-zero code: 1

Can you help me ??


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.