Switch to multi-stage Docker build

2 jobs for master in 43 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Docker Build
failed #13193
docker_build

00:00:43

 
  Release
skipped #13194
release
 
Name Stage Failure
failed
docker_build Docker Build

Login Succeeded
$ docker build --build-arg ci_token=$CI_JOB_TOKEN --pull -t $IMAGE_TAG .
Sending build context to Docker daemon 94.72kB
Step 1/3 : FROM scratch
--->
Step 2/3 : ADD build/okserver /
ADD failed: stat /var/lib/docker/tmp/docker-builder485840942/build/okserver: no such file or directory
ERROR: Job failed: exit code 1