diff --git a/components/packaging/README.md b/components/packaging/README.md index 46aa5f1491..f8dbdf7a8b 100644 --- a/components/packaging/README.md +++ b/components/packaging/README.md @@ -15,7 +15,7 @@ The scripts will build for this list of packages types: * DEB packages for Debian 9 Stretch * DEB packages for Debian 8 Jessie * DEB packages for Debian 7 Wheezy +* RPM packages for Fedora 28 * RPM packages for Fedora 27 -* RPM packages for Fedora 26 * RPM packages for CentOS 7 * TGZ and ZIP files with static binaries diff --git a/components/packaging/deb/Makefile b/components/packaging/deb/Makefile index 9e0c2d4e10..e11b5cc3ee 100644 --- a/components/packaging/deb/Makefile +++ b/components/packaging/deb/Makefile @@ -8,8 +8,7 @@ VERSION?=0.0.0-dev GO_BASE_IMAGE=golang GO_VERSION:=1.10.4 GO_IMAGE=$(GO_BASE_IMAGE):$(GO_VERSION) -SUFFIX=ce -DEB_VERSION?=$(shell SUFFIX=$(SUFFIX) ./gen-deb-ver $(CLI_DIR) "$(VERSION)") +DEB_VERSION=$(shell ./gen-deb-ver $(CLI_DIR) "$(VERSION)") CHOWN:=docker run --rm -v $(CURDIR):/v -w /v alpine chown EPOCH?=4 diff --git a/components/packaging/deb/common/control b/components/packaging/deb/common/control index d45e144702..cf31d62f7a 100644 --- a/components/packaging/deb/common/control +++ b/components/packaging/deb/common/control @@ -9,7 +9,7 @@ Build-Depends: bash-completion, make, gcc Standards-Version: 3.9.6 -Homepage: https://docker.com +Homepage: https://www.docker.com Vcs-Browser: https://github.com/docker/docker Vcs-Git: git://github.com/docker/docker.git @@ -27,11 +27,11 @@ Recommends: aufs-tools, Conflicts: docker (<< 1.5~), docker.io, lxc-docker, lxc-docker-virtual-package, docker-engine, docker-engine-cs Replaces: docker-engine Description: Docker: the open-source application container engine - Docker is an open source project to build, ship and run any application as a + Docker is a product for you to build, 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 EC2 compute instance and + 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 @@ -43,11 +43,11 @@ Depends: ${shlibs:Depends} Conflicts: docker (<< 1.5~), docker.io, lxc-docker, lxc-docker-virtual-package, docker-engine, docker-engine-cs Breaks: docker-ce (<< 18.06~) Description: Docker CLI: the open-source application container engine - Docker is an open source project to build, ship and run any application as a + Docker is a product for you to build, 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 EC2 compute instance and + 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 diff --git a/components/packaging/deb/systemd/docker.service b/components/packaging/deb/systemd/docker.service deleted file mode 100644 index 517463172b..0000000000 --- a/components/packaging/deb/systemd/docker.service +++ /dev/null @@ -1,34 +0,0 @@ -[Unit] -Description=Docker Application Container Engine -Documentation=https://docs.docker.com -After=network-online.target docker.socket firewalld.service -Wants=network-online.target -Requires=docker.socket - -[Service] -Type=notify -# the default is not to use systemd for cgroups because the delegate issues still -# exists and systemd currently does not support the cgroup feature set required -# for containers run by docker -ExecStart=/usr/bin/dockerd -H fd:// -ExecReload=/bin/kill -s HUP $MAINPID -LimitNOFILE=1048576 -# Having non-zero Limit*s causes performance problems due to accounting overhead -# in the kernel. We recommend using cgroups to do container-local accounting. -LimitNPROC=infinity -LimitCORE=infinity -# Uncomment TasksMax if your systemd version supports it. -# Only systemd 226 and above support this version. -#TasksMax=infinity -TimeoutStartSec=0 -# set delegate yes so that systemd does not reset the cgroups of docker containers -Delegate=yes -# kill only the docker process, not all processes in the cgroup -KillMode=process -# restart the docker process if it exits prematurely -Restart=on-failure -StartLimitBurst=3 -StartLimitInterval=60s - -[Install] -WantedBy=multi-user.target diff --git a/components/packaging/deb/systemd/docker.socket b/components/packaging/deb/systemd/docker.socket deleted file mode 100644 index 7dd95098e4..0000000000 --- a/components/packaging/deb/systemd/docker.socket +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Docker Socket for the API -PartOf=docker.service - -[Socket] -ListenStream=/var/run/docker.sock -SocketMode=0660 -SocketUser=root -SocketGroup=docker - -[Install] -WantedBy=sockets.target diff --git a/components/packaging/rpm/SPECS/docker-ce-cli.spec b/components/packaging/rpm/SPECS/docker-ce-cli.spec index 883507c676..d5b89a45fa 100644 --- a/components/packaging/rpm/SPECS/docker-ce-cli.spec +++ b/components/packaging/rpm/SPECS/docker-ce-cli.spec @@ -32,11 +32,11 @@ Obsoletes: docker-engine-selinux Obsoletes: docker-engine %description -Docker is an open source project to build, ship and run any application as a +Docker is is a product for you to build, 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 EC2 compute instance and +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 diff --git a/components/packaging/rpm/SPECS/docker-ce.spec b/components/packaging/rpm/SPECS/docker-ce.spec index 74d06ec685..3be4cb4589 100644 --- a/components/packaging/rpm/SPECS/docker-ce.spec +++ b/components/packaging/rpm/SPECS/docker-ce.spec @@ -38,11 +38,11 @@ Obsoletes: docker-engine-selinux Obsoletes: docker-engine %description -Docker is an open source project to build, ship and run any application as a +Docker is is a product for you to build, 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 EC2 compute instance and +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 diff --git a/components/packaging/rpm/centos-7/docker-ce.spec b/components/packaging/rpm/centos-7/docker-ce.spec index e9762f3be3..e8c76d8307 100644 --- a/components/packaging/rpm/centos-7/docker-ce.spec +++ b/components/packaging/rpm/centos-7/docker-ce.spec @@ -54,11 +54,11 @@ Obsoletes: docker-engine-selinux Obsoletes: docker-engine %description -Docker is an open source project to build, ship and run any application as a +Docker is is a product for you to build, 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 EC2 compute instance and +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 diff --git a/components/packaging/rpm/fedora-27/docker-ce.spec b/components/packaging/rpm/fedora-27/docker-ce.spec index 712a4ca508..d646a1e327 100644 --- a/components/packaging/rpm/fedora-27/docker-ce.spec +++ b/components/packaging/rpm/fedora-27/docker-ce.spec @@ -54,11 +54,11 @@ Obsoletes: docker-engine-selinux Obsoletes: docker-engine %description -Docker is an open source project to build, ship and run any application as a +Docker is is a product for you to build, 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 EC2 compute instance and +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 diff --git a/components/packaging/rpm/fedora-28/docker-ce.spec b/components/packaging/rpm/fedora-28/docker-ce.spec index 712a4ca508..d646a1e327 100644 --- a/components/packaging/rpm/fedora-28/docker-ce.spec +++ b/components/packaging/rpm/fedora-28/docker-ce.spec @@ -54,11 +54,11 @@ Obsoletes: docker-engine-selinux Obsoletes: docker-engine %description -Docker is an open source project to build, ship and run any application as a +Docker is is a product for you to build, 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 EC2 compute instance and +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 diff --git a/components/packaging/systemd/docker.service b/components/packaging/systemd/docker.service index be1617069f..d8b2efebc7 100644 --- a/components/packaging/systemd/docker.service +++ b/components/packaging/systemd/docker.service @@ -26,9 +26,8 @@ StartLimitBurst=3 # this option work for either version of systemd. StartLimitInterval=60s -# On RPM Based distributions PATH isn't defined so we define it here # /opt/containerd/bin is in front so dockerd grabs the correct runc binary -Environment="PATH=/opt/containerd/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:$PATH" +Environment="PATH=/opt/containerd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" # Having non-zero Limit*s causes performance problems due to accounting overhead # in the kernel. We recommend using cgroups to do container-local accounting.