Home Quick start All builds News Donations
More
Log In
Light Theme Docs
Workers

SparrowCI Report - branch-melezhik-sparrowci-docker-task-alpine | [image: melezhik/sparrow:alpine]

  • Summary
  • Pipeline YAML
  • Report
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
20:56:09 :: [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
20:56:12 :: [repository] - installing pack-unpack, version 0.000001
[task run: task.bash - unpack source archive]
[dump code: task.bash]
[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] 
[task stdout]
20:56:14 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/run-docker]
[dump code: task.bash]
[1] sudo apk add docker-cli
[2] sudo docker run hello-world
[3] export cwd=$(pwd)
[4] sudo -E docker build $cwd/source
[5] 
[task stdout]
20:56:14 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
20:56:14 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
20:56:14 :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
20:56:15 :: (1/1) Installing docker-cli (20.10.20-r0)
20:56:15 :: Executing busybox-1.35.0-r17.trigger
20:56:15 :: OK: 752 MiB in 61 packages
20:56:15 :: 
20:56:15 :: Hello from Docker!
20:56:15 :: This message shows that your installation appears to be working correctly.
20:56:15 :: 
20:56:15 :: To generate this message, Docker took the following steps:
20:56:15 ::  1. The Docker client contacted the Docker daemon.
20:56:15 ::  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
20:56:15 ::     (amd64)
20:56:15 ::  3. The Docker daemon created a new container from that image which runs the
20:56:15 ::     executable that produces the output you are currently reading.
20:56:15 ::  4. The Docker daemon streamed that output to the Docker client, which sent it
20:56:15 ::     to your terminal.
20:56:15 :: 
20:56:15 :: To try something more ambitious, you can run an Ubuntu container with:
20:56:15 ::  $ docker run -it ubuntu bash
20:56:15 :: 
20:56:15 :: Share images, automate workflows, and more with a free Docker ID:
20:56:15 ::  https://hub.docker.com/
20:56:15 :: 
20:56:15 :: For more examples and ideas, visit:
20:56:15 ::  https://docs.docker.com/get-started/
20:56:15 :: 
20:56:16 :: Sending build context to Docker daemon  88.58kB
20:56:16 :: 
20:56:16 :: Step 1/1 : FROM alpine
20:56:16 :: latest: Pulling from library/alpine
20:56:16 :: 8921db27df28: Pulling fs layer
20:56:16 :: 8921db27df28: Verifying Checksum
20:56:16 :: 8921db27df28: Download complete
20:56:16 :: 8921db27df28: Pull complete
20:56:16 :: Digest: sha256:f271e74b17ced29b915d351685fd4644785c6d1559dd1f2d4189a5e851ef753a
20:56:16 :: Status: Downloaded newer image for alpine:latest
20:56:16 ::  ---> 042a816809aa
20:56:16 :: Successfully built 042a816809aa