BuildID: 2980
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 09.02.2023 @ 20:56
Time elapsed: 65 sec
---
SCM:
https://github.com/melezhik/sparrowci-docker-task.git
Git sha: 065bb2b
Git comment: Update Dockerfile
tasks:
-
name: run-docker
language: Bash
default: true
code: |
sudo apk add docker-cli
sudo docker run hello-world
export cwd=$(pwd)
sudo -E docker build $cwd/source
[35m20:56:09[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
source directory does not yet exist, download source archive from storage
[35m20:56:12[0m :: [repository] - installing pack-unpack, version 0.000001
[1;36m[task run: task.bash - unpack source archive][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2]
[3] file=$(config file)
[4] dir=$(config dir)
[5]
[6] echo "tar -xzf $file "
[7]
[8] tar -xzf $file
[9]
[10] if test $dir; then
[11] ls -l $dir
[12] fi
[13]
[14]
[1;36m[task stdout][0m
[35m20:56:14[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.bash - tasks/run-docker][0m
[1;36m[dump code: task.bash][0m
[1] sudo apk add docker-cli
[2] sudo docker run hello-world
[3] export cwd=$(pwd)
[4] sudo -E docker build $cwd/source
[5]
[1;36m[task stdout][0m
[35m20:56:14[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
[35m20:56:14[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
[35m20:56:14[0m :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
[35m20:56:15[0m :: (1/1) Installing docker-cli (20.10.20-r0)
[35m20:56:15[0m :: Executing busybox-1.35.0-r17.trigger
[35m20:56:15[0m :: OK: 752 MiB in 61 packages
[35m20:56:15[0m ::
[35m20:56:15[0m :: Hello from Docker!
[35m20:56:15[0m :: This message shows that your installation appears to be working correctly.
[35m20:56:15[0m ::
[35m20:56:15[0m :: To generate this message, Docker took the following steps:
[35m20:56:15[0m :: 1. The Docker client contacted the Docker daemon.
[35m20:56:15[0m :: 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
[35m20:56:15[0m :: (amd64)
[35m20:56:15[0m :: 3. The Docker daemon created a new container from that image which runs the
[35m20:56:15[0m :: executable that produces the output you are currently reading.
[35m20:56:15[0m :: 4. The Docker daemon streamed that output to the Docker client, which sent it
[35m20:56:15[0m :: to your terminal.
[35m20:56:15[0m ::
[35m20:56:15[0m :: To try something more ambitious, you can run an Ubuntu container with:
[35m20:56:15[0m :: $ docker run -it ubuntu bash
[35m20:56:15[0m ::
[35m20:56:15[0m :: Share images, automate workflows, and more with a free Docker ID:
[35m20:56:15[0m :: https://hub.docker.com/
[35m20:56:15[0m ::
[35m20:56:15[0m :: For more examples and ideas, visit:
[35m20:56:15[0m :: https://docs.docker.com/get-started/
[35m20:56:15[0m ::
[35m20:56:16[0m :: Sending build context to Docker daemon 88.58kB
[35m20:56:16[0m ::
[35m20:56:16[0m :: Step 1/1 : FROM alpine
[35m20:56:16[0m :: latest: Pulling from library/alpine
[35m20:56:16[0m :: 8921db27df28: Pulling fs layer
[35m20:56:16[0m :: 8921db27df28: Verifying Checksum
[35m20:56:16[0m :: 8921db27df28: Download complete
[35m20:56:16[0m :: 8921db27df28: Pull complete
[35m20:56:16[0m :: Digest: sha256:f271e74b17ced29b915d351685fd4644785c6d1559dd1f2d4189a5e851ef753a
[35m20:56:16[0m :: Status: Downloaded newer image for alpine:latest
[35m20:56:16[0m :: ---> 042a816809aa
[35m20:56:16[0m :: Successfully built 042a816809aa