Add Gitlab CI for automatic builds

3 jobs for master in 20 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Build
failed #122
docker-build-master

00:00:20

failed #121
docker-build-master

00:00:22

failed #120
docker-build-master

00:02:22

 
Name Stage Failure
failed
docker-build-master Build
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
$ docker build --pull -t "$CI_REGISTRY_IMAGE" .
time="2020-01-20T16:49:01Z" level=error msg="failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp 172.17.0.2:2375: connect: connection refused"
error during connect: Post http://docker:2375/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&pull=1&rm=1&session=1ikxsmqzpuhlc2z5z1v77maw6&shmsize=0&t=registry.gitlab.lelux.fi%2Fcontainer-library%2Fiframely&target=&ulimits=null&version=1: context canceled
ERROR: Job failed: exit code 1