The btrfs-tools was a transitional package, and no longer exists:
> Package btrfs-tools
> stretch (oldstable) (admin): transitional dummy package
> 4.7.3-1: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
It must be replaced either by `btrfs-progs` or `libbtrfs-dev` (which has just the development headers)
> Package: libbtrfs-dev (4.20.1-2)
> Checksumming Copy on Write Filesystem utilities (development headers)
Note that the `libbtrfs-dev` package is not available on Debian stretch
(only in stretch-backports)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4e3ab9e9fbca682f75eb350c8ad4312282869a03)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
... | ... |
@@ -30,7 +30,7 @@ ARG GO_VERSION=1.12.17 |
30 | 30 |
ARG DEBIAN_FRONTEND=noninteractive |
31 | 31 |
ARG VPNKIT_DIGEST=e508a17cfacc8fd39261d5b4e397df2b953690da577e2c987a47630cd0c42f8e |
32 | 32 |
|
33 |
-FROM golang:${GO_VERSION}-stretch AS base |
|
33 |
+FROM golang:${GO_VERSION}-buster AS base |
|
34 | 34 |
ARG APT_MIRROR |
35 | 35 |
RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list \ |
36 | 36 |
&& sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list |
... | ... |
@@ -173,7 +173,7 @@ FROM dev-base AS containerd |
173 | 173 |
ARG DEBIAN_FRONTEND |
174 | 174 |
ARG CONTAINERD_COMMIT |
175 | 175 |
RUN apt-get update && apt-get install -y --no-install-recommends \ |
176 |
- btrfs-tools \ |
|
176 |
+ libbtrfs-dev \ |
|
177 | 177 |
&& rm -rf /var/lib/apt/lists/* |
178 | 178 |
ENV INSTALL_BINARY_NAME=containerd |
179 | 179 |
COPY hack/dockerfile/install/install.sh ./install.sh |
... | ... |
@@ -256,7 +256,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ |
256 | 256 |
aufs-tools \ |
257 | 257 |
bash-completion \ |
258 | 258 |
binutils-mingw-w64 \ |
259 |
- btrfs-tools \ |
|
259 |
+ libbtrfs-dev \ |
|
260 | 260 |
bzip2 \ |
261 | 261 |
g++-mingw-w64-x86-64 \ |
262 | 262 |
iptables \ |