-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile.cgo
27 lines (22 loc) · 826 Bytes
/
Dockerfile.cgo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM centos:7
LABEL "maintainer"="tangfeixiong <[email protected]>" \
"project"="https://github.com/tangfeixiong/go-to-docker" \
"name"="go-to-docker" \
"version"="0.1.1" \
"created-by"='{"namespace":"stackdocker-io","tags":"docker registry grpc grpc-gateway libpcap gopacket"}'
COPY bin/gotodocker /
ENV DOCKER_API_VERSION='1.12' \
DOCKER_CONFIG_JSON='{"auths":{"localhost:5000":{"auth":"","email":""}}}' \
REGISTRY_CERTS_JSON='{"localhost:5000":{"ca_base64":"","crt_base64":"","key_base64":""}}' \
RSA_PRIVKEYB64_JSON='{"vagrant":""}' \
STREAMING_HOST='FAKEHOST'
RUN set -x \
&& install_Pkgs = " \
libpcap
" \
&& yum install -y $install_Pkgs \
&& yum clean all -y \
&& echo
EXPOSE 10051 10052
ENTRYPOINT ["/gotodocker", "serve"]
CMD ["--v=2", "--logtostderr=true"]