Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : docker | name : docker | ||||
| version : 18.06.1 | version : 18.09.0 | ||||
| release : 16 | release : 17 | ||||
| source : | source : | ||||
| - https://github.com/docker/docker-ce/archive/v18.06.1-ce.tar.gz : 153cb489033686260dfe7a42acbdd1753d56f7a9c2d7ad90633f0c8cce563b23 | - https://github.com/docker/docker-ce/archive/v18.09.0.tar.gz : 0f251f04b1973956f070c1d7ee2751a9663da2d9d701fbab7e957f0f5f310478 | ||||
| - git|https://github.com/docker/libnetwork.git : a79d3687931697244b8e03485bf7b2042f8ec6b6 | - git|https://github.com/docker/libnetwork.git : 8bc51fd276b549b106dbc7bf8ab18b3a01d66e64 | ||||
| - git|https://github.com/krallin/tini.git : v0.18.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 | ||||
| strip : no | strip : no | ||||
| 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. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(devmapper) | - pkgconfig(devmapper) | ||||
| - btrfs-progs-devel | - btrfs-progs-devel | ||||
| - go-md2man | - go-md2man | ||||
| - golang | - golang | ||||
| - tree | |||||
| rundeps : | rundeps : | ||||
| - btrfs-progs | - btrfs-progs | ||||
| - containerd | - containerd | ||||
| - dnsmasq | - dnsmasq | ||||
| - runc | - runc | ||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/0001-Default-to-using-overlayfs.patch | %patch -p1 < $pkgfiles/0001-Default-to-using-overlayfs.patch | ||||
| build : | | build : | | ||||
| mkdir -p src/github.com/docker | mkdir -p src/github.com/docker | ||||
| export GOPATH=`pwd` | export GOPATH=`pwd` | ||||
| unset LDFLAGS | unset LDFLAGS | ||||
| # 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 docker-proxy github.com/docker/libnetwork/cmd/proxy | go build -o 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}-ce | ||||
| pushd components/engine | pushd components/engine | ||||
| export DOCKER_GITCOMMIT="e68fc7a215d7133c34aa18e3b72b4a21fd0c6136" | export DOCKER_GITCOMMIT="4d60db472b2bde6931072ca6467f2667c2590dff" | ||||
| export AUTO_GOPATH=1 | export AUTO_GOPATH=1 | ||||
| ./hack/make.sh dynbinary | ./hack/make.sh dynbinary | ||||
| popd | popd | ||||
| # Build docker-init | |||||
| mkdir -p src/github.com/krallin/tini | |||||
| cp -r $sources/tini.git/* src/github.com/krallin/tini/ | |||||
| pushd src/github.com/krallin/tini | |||||
| %cmake . | |||||
| %make tini-static | |||||
| popd | |||||
| # Build CLI | # Build CLI | ||||
| ln -sv `pwd`/components/cli src/github.com/docker | ln -sv `pwd`/components/cli src/github.com/docker | ||||
| pushd components/cli | pushd components/cli | ||||
| ./scripts/build/dynbinary | ./scripts/build/dynbinary | ||||
| popd | popd | ||||
| # Build manpages | # Build manpages | ||||
| components/cli/man/md2man-all.sh | components/cli/man/md2man-all.sh | ||||
| install : | | 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 | ||||
| pushd components/cli | pushd components/cli | ||||
| install -m00755 build/docker-linux-amd64 $installdir/usr/bin/docker | install -m00755 build/docker-linux-amd64 $installdir/usr/bin/docker | ||||
| popd | popd | ||||
| # Main docker daemon | # Main docker daemon | ||||
| pushd components/engine | pushd components/engine | ||||
| install -m00755 bundles/dynbinary-daemon/dockerd-${version}-ce $installdir/usr/bin/dockerd | install -m00755 bundles/dynbinary-daemon/dockerd-${version}-ce $installdir/usr/bin/dockerd | ||||
| popd | popd | ||||
| # Now install 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 | ||||
| install -m00644 components/packaging/deb/systemd/docker.service $installdir/%libdir%/systemd/system/. | install -m00644 components/engine/contrib/init/systemd/docker.service $installdir/%libdir%/systemd/system/. | ||||
| install -m00644 components/packaging/deb/systemd/docker.socket $installdir/%libdir%/systemd/system/. | install -m00644 components/engine/contrib/init/systemd/docker.socket $installdir/%libdir%/systemd/system/. | ||||
| # Enable socket activation by default | # Enable socket activation by default | ||||
| install -Ddm00755 $installdir/%libdir%/systemd/system/sockets.target.wants | install -Ddm00755 $installdir/%libdir%/systemd/system/sockets.target.wants | ||||
| ln -sv ../docker.socket $installdir/%libdir%/systemd/system/sockets.target.wants/docker.socket | ln -sv ../docker.socket $installdir/%libdir%/systemd/system/sockets.target.wants/docker.socket | ||||
| # Add the docker group | # Add the docker group | ||||
| install -Dm00644 $pkgfiles/docker.sysusers $installdir/%libdir%/sysusers.d/docker.conf | install -Dm00644 $pkgfiles/docker.sysusers $installdir/%libdir%/sysusers.d/docker.conf | ||||
| Show All 14 Lines | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.