Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ jobs:
fail-fast: false
matrix:
target:
- debian-buster
- debian-bullseye
- ubuntu-bionic
- ubuntu-focal
- ubuntu-impish
- ubuntu-jammy
steps:
-
name: Checkout
Expand Down
1 change: 0 additions & 1 deletion deb/common/compat

This file was deleted.

2 changes: 1 addition & 1 deletion deb/common/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Build-Depends: bash,
ca-certificates,
cmake,
dh-apparmor,
debhelper (>= 10~) | dh-systemd,
debhelper-compat (= 12),
gcc,
git,
libbtrfs-dev | btrfs-tools,
Expand Down
1 change: 1 addition & 0 deletions deb/common/docker-ce.docker.service
1 change: 1 addition & 0 deletions deb/common/docker-ce.docker.socket
72 changes: 0 additions & 72 deletions deb/common/docker-ce.docker.upstart

This file was deleted.

3 changes: 3 additions & 0 deletions deb/common/docker-ce.maintscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# *technically* this "5:21~" should be something more specific like "5:22.06.1-1~" (the first released version to introduce this "rm_conffile" line), but as long as it's strictly *newer* than the last version to ship the conffile and stricly *older* than the first version with the rm_conffile line, it should work fine (so we're using the will-never-exist major version of "21" as our in-between release for the 20.xx to 22.xx)
rm_conffile /etc/init/docker.conf 5:21~
# this should stick around in the package until there are no more users who will ever upgrade from "5:20.xx" to something newer (it's reasonably harmless for this to stay indefinitely)
12 changes: 10 additions & 2 deletions deb/common/rules
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,19 @@ override_dh_auto_test:
override_dh_strip:
# Go has lots of problems with stripping, so just don't

# http://manpages.debian.org/dh_dwz
override_dh_dwz:
# dh_dwz in debhelper versions less than 13 has issues with files that are missing debug symbols (once we update to debhelper-compat 13+ this can be removed)
@# https://packages.debian.org/debhelper
@# https://packages.ubuntu.com/debhelper

override_dh_auto_install:
# docker-ce-cli install
install -D -m 0644 cli/contrib/completion/fish/docker.fish debian/docker-ce-cli/usr/share/fish/vendor_completions.d/docker.fish
install -D -m 0644 cli/contrib/completion/zsh/_docker debian/docker-ce-cli/usr/share/zsh/vendor-completions/_docker
install -D -m 0755 cli/build/docker debian/docker-ce-cli/usr/bin/docker

# docker-ce install
install -D -m 0644 engine/contrib/init/systemd/docker.service debian/docker-ce/lib/systemd/system/docker.service
install -D -m 0644 engine/contrib/init/systemd/docker.socket debian/docker-ce/lib/systemd/system/docker.socket
install -D -m 0755 $(shell readlink -e engine/bundles/dynbinary-daemon/dockerd) debian/docker-ce/usr/bin/dockerd
install -D -m 0755 $(shell readlink -e engine/bundles/dynbinary-daemon/docker-proxy) debian/docker-ce/usr/bin/docker-proxy
install -D -m 0755 /usr/local/bin/docker-init debian/docker-ce/usr/bin/docker-init
Expand Down Expand Up @@ -98,6 +102,10 @@ override_dh_installinit:
# use "docker" as our service name, not "docker-ce"
dh_installinit --name=docker

override_dh_installsystemd:
# use "docker" as our service name, not "docker-ce"
dh_installsystemd --name=docker

override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

Expand Down
3 changes: 2 additions & 1 deletion deb/ubuntu-bionic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ FROM ${GO_IMAGE} AS golang
FROM ${BUILD_IMAGE}

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y curl devscripts equivs git
ARG SUITE
RUN apt-get update && apt-get install -y curl devscripts equivs git debhelper/${SUITE}-backports dwz/${SUITE}-backports

ENV GOPROXY=direct
ENV GO111MODULE=off
Expand Down