As I transitioned from using Docker-compose to using Kubernetes, following the instructions in
https://guide.opencord.org I uninstalled Docker Engine and Docker.io as explained under Ubuntu section of Docker-ce installation guide and then installed Docker-ce, then MiniKube and then Helm
These are the version that are working for me:
(venv-linux) gilles@gilles-VirtualBox:~/cord/incubator/voltha$ docker version
Client:
Version: 17.03.2-ce
API version: 1.27
Go version: go1.7.5
Git commit: f5ec1e2
Built: Tue Jun 27 03:35:14 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.2-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: f5ec1e2
Built: Tue Jun 27 03:35:14 2017
OS/Arch: linux/amd64
Experimental: false
(venv-linux) gilles@gilles-VirtualBox:~/cord/incubator/voltha$ minikube version
minikube version: v0.28.2
(venv-linux) gilles@gilles-VirtualBox:~/cord/incubator/voltha$ helm version
Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
However if I try to do a "make build" now, the the build errors at the following:
docker build --build-arg TAG=latest --build-arg REGISTRY= --build-arg REPOSITORY= --rm --force-rm -t voltha-voltha:latest -f docker/Dockerfile.voltha .
Sending build context to Docker daemon 49.94 MB
Step 1/11 : ARG TAG=latest
Please provide a source image with `from` prior to commit
Makefile:243: recipe for target 'voltha' failed
make: *** [voltha] Error 1
It looks like the following step is failing on all of the docker targets
docker build --build-arg TAG=latest --build-arg REGISTRY= --build-arg REPOSITORY= --rm --force-rm -t voltha-voltha:latest -f docker/Dockerfile.voltha .
It looks like this section of the Makefile is in question
ARG TAG=latest
ARG REGISTRY=
ARG REPOSITORY=
FROM ${REGISTRY}${REPOSITORY}voltha-base:${TAG}
It looks like maybe the "ARG" symbol is not handled correctly
Is there an difference between Docker-Engine/.io and Docker-ce in terms of the build command?
Have I not installed the correct packages?
I can deploy k8s charts over my Minikube/Helm/Tiller environment
What is wrong?