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: 2981
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 09.02.2023 @ 21:05
Time elapsed: 71 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
21:05:06 :: [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
21:05:08 :: [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]
21:05:11 :: 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]
21:05:11 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
21:05:11 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
21:05:11 :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
21:05:12 :: (1/1) Installing docker-cli (20.10.20-r0)
21:05:12 :: Executing busybox-1.35.0-r17.trigger
21:05:12 :: OK: 752 MiB in 61 packages
21:05:12 :: 
21:05:12 :: Hello from Docker!
21:05:12 :: This message shows that your installation appears to be working correctly.
21:05:12 :: 
21:05:12 :: To generate this message, Docker took the following steps:
21:05:12 ::  1. The Docker client contacted the Docker daemon.
21:05:12 ::  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
21:05:12 ::     (amd64)
21:05:12 ::  3. The Docker daemon created a new container from that image which runs the
21:05:12 ::     executable that produces the output you are currently reading.
21:05:12 ::  4. The Docker daemon streamed that output to the Docker client, which sent it
21:05:12 ::     to your terminal.
21:05:12 :: 
21:05:12 :: To try something more ambitious, you can run an Ubuntu container with:
21:05:12 ::  $ docker run -it ubuntu bash
21:05:12 :: 
21:05:12 :: Share images, automate workflows, and more with a free Docker ID:
21:05:12 ::  https://hub.docker.com/
21:05:12 :: 
21:05:12 :: For more examples and ideas, visit:
21:05:12 ::  https://docs.docker.com/get-started/
21:05:12 :: 
21:05:13 :: Sending build context to Docker daemon  88.58kB
21:05:13 :: 
21:05:13 :: Step 1/1 : FROM alpine
21:05:13 ::  ---> 042a816809aa
21:05:13 :: Successfully built 042a816809aa