Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : docker | name : docker | ||||
| version : 20.10.14 | version : 20.10.17 | ||||
| release : 37 | release : 38 | ||||
| source : | source : | ||||
| - https://github.com/moby/moby/archive/v20.10.14.tar.gz : dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 | - https://github.com/moby/moby/archive/v20.10.17.tar.gz : 061cf8579aa3c813c353c80fa480744e2f6cca2e6392f546bd0942a6a10c7a14 | ||||
| - git|https://github.com/docker/cli.git : v20.10.14 | - git|https://github.com/docker/cli.git : v20.10.17 | ||||
| - git|https://github.com/moby/libnetwork.git : 64b7a4574d1426139437d20e81c0b6d391130ec8 | - git|https://github.com/moby/libnetwork.git : f6ccccb1c082a432c2a5814aaedaca56af33d9ea | ||||
| - git|https://github.com/krallin/tini.git : v0.19.0 | - git|https://github.com/krallin/tini.git : v0.19.0 | ||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : virt | component : virt | ||||
| summary : Open source application container engine | summary : Open source application container engine | ||||
| description: | | description: | | ||||
| Docker is an open source project to pack, ship and run any application as a lightweight container. | Docker is an open source project to pack, ship and run any application as a lightweight container. | ||||
| Docker containers are both hardware-agnostic and platform-agnostic. This means they can run anywhere, from your laptop to the largest cloud compute instance and everything in between - and they don't require you to use a particular language, framework or packaging system. That makes them great building blocks for deploying and scaling web apps, databases, and backend services without depending on a particular stack or provider. | Docker containers are both hardware-agnostic and platform-agnostic. This means they can run anywhere, from your laptop to the largest cloud compute instance and everything in between - and they don't require you to use a particular language, framework or packaging system. That makes them great building blocks for deploying and scaling web apps, databases, and backend services without depending on a particular stack or provider. | ||||
| strip : no | strip : no | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(devmapper) | - pkgconfig(devmapper) | ||||
| - btrfs-progs-devel | - btrfs-progs-devel | ||||
| - go-md2man | - go-md2man | ||||
| - golang | - golang | ||||
| rundeps : | rundeps : | ||||
| - btrfs-progs | - btrfs-progs | ||||
| - containerd | - containerd | ||||
| - dnsmasq | - dnsmasq | ||||
| - docker-buildx | - docker-buildx | ||||
| - runc | - runc | ||||
| environment: | | environment: | | ||||
| export PLATFORM="Docker Engine - Community" | |||||
| export AUTO_GOPATH=1 | export AUTO_GOPATH=1 | ||||
| export DISABLE_WARN_OUTSIDE_CONTAINER=1 | export DISABLE_WARN_OUTSIDE_CONTAINER=1 | ||||
| export DOCKER_GITCOMMIT="87a90dc786bda134c9eb02adbae2c6a7342fb7f6" | export DOCKER_GITCOMMIT="a89b84221c8560e7a3dee2a653353429e7628424" | ||||
| export GITCOMMIT="87a90dc786bda134c9eb02adbae2c6a7342fb7f6" | export GITCOMMIT="a89b84221c8560e7a3dee2a653353429e7628424" | ||||
| export GO111MODULE=auto | export GO111MODULE=auto | ||||
| export GOPATH="${workdir}" | export GOPATH="${workdir}" | ||||
| unset LDFLAGS | unset LDFLAGS | ||||
| build : | | build : | | ||||
| mkdir -p src/github.com/docker | mkdir -p src/github.com/docker | ||||
| # Build proxy | # Build proxy | ||||
| ln -sv $sources/libnetwork.git src/github.com/docker/libnetwork | ln -sv $sources/libnetwork.git src/github.com/docker/libnetwork | ||||
| go build -o $workdir/docker-proxy github.com/docker/libnetwork/cmd/proxy | go build -o $workdir/docker-proxy github.com/docker/libnetwork/cmd/proxy | ||||
| rm -v src/github.com/docker/libnetwork | rm -v src/github.com/docker/libnetwork | ||||
| # Build daemon | # Build daemon | ||||
| export VERSION=${version}-ce | export VERSION=${version} | ||||
| ./hack/make.sh dynbinary | ./hack/make.sh dynbinary | ||||
| # Build docker-init | # Build docker-init | ||||
| mkdir -p src/github.com/krallin/tini | mkdir -p src/github.com/krallin/tini | ||||
| cp -r $sources/tini.git/* src/github.com/krallin/tini/ | cp -r $sources/tini.git/* src/github.com/krallin/tini/ | ||||
| pushd src/github.com/krallin/tini | pushd src/github.com/krallin/tini | ||||
| %cmake . | %cmake . | ||||
| %make tini-static | %make tini-static | ||||
| Show All 14 Lines | install : | | ||||
| # Required directories | # Required directories | ||||
| install -Ddm00755 $installdir/usr/bin | install -Ddm00755 $installdir/usr/bin | ||||
| install -Ddm00755 $installdir/%libdir%/systemd/system | install -Ddm00755 $installdir/%libdir%/systemd/system | ||||
| # Install docker client | # Install docker client | ||||
| install -m00755 src/github.com/docker/cli/build/docker-linux-amd64 $installdir/usr/bin/docker | install -m00755 src/github.com/docker/cli/build/docker-linux-amd64 $installdir/usr/bin/docker | ||||
| # Main docker daemon | # Main docker daemon | ||||
| install -m00755 bundles/dynbinary-daemon/dockerd-${version}-ce $installdir/usr/bin/dockerd | install -m00755 bundles/dynbinary-daemon/dockerd-${version} $installdir/usr/bin/dockerd | ||||
| # Now install docker-init | # Now install docker-init | ||||
| install -m00755 $workdir/src/github.com/krallin/tini/tini-static $installdir/usr/bin/docker-init | install -m00755 $workdir/src/github.com/krallin/tini/tini-static $installdir/usr/bin/docker-init | ||||
| # Now install proxy service | # Now install proxy service | ||||
| install -m00755 $workdir/docker-proxy $installdir/usr/bin/docker-proxy | install -m00755 $workdir/docker-proxy $installdir/usr/bin/docker-proxy | ||||
| # Now install systemd units | # Now install systemd units | ||||
| Show All 12 Lines | install : | | ||||
| ln -s containerd-shim $installdir/usr/bin/docker-containerd-shim | ln -s containerd-shim $installdir/usr/bin/docker-containerd-shim | ||||
| ln -s ctr $installdir/usr/bin/docker-containerd-ctr | ln -s ctr $installdir/usr/bin/docker-containerd-ctr | ||||
| ln -s runc $installdir/usr/bin/docker-runc | ln -s runc $installdir/usr/bin/docker-runc | ||||
| # Install completions | # Install completions | ||||
| pushd src/github.com/docker/cli | pushd src/github.com/docker/cli | ||||
| install -Dm00644 contrib/completion/bash/docker $installdir/usr/share/bash-completion/completions/docker | install -Dm00644 contrib/completion/bash/docker $installdir/usr/share/bash-completion/completions/docker | ||||
| install -Dm00644 contrib/completion/zsh/_docker $installdir/usr/share/zsh/site-functions/_docker | install -Dm00644 contrib/completion/zsh/_docker $installdir/usr/share/zsh/site-functions/_docker | ||||
| install -Dm00644 contrib/completion/fish/docker.fish $installdir/usr/share/fish/vendor_completions.d/docker.fish | |||||
| # Install manpages | # Install manpages | ||||
| for i in 1 5 8; do | for i in 1 5 8; do | ||||
| install -Dm00644 man/man$i/*.$i -t $installdir/usr/share/man/man$i | install -Dm00644 man/man$i/*.$i -t $installdir/usr/share/man/man$i | ||||
| done | done | ||||
| popd | popd | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.