Skip to content

Commit 9c7bd50

Browse files
authored
Merge pull request #3997 from thaJeztah/1.2_backport_dockerfile_test_fixes
[release/1.2 backport] Fix btrfs packages in contrib Dockerfile
2 parents 89c589b + 8761b1b commit 9c7bd50

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

BUILDING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ You can build an image from this `Dockerfile`:
135135
FROM golang
136136
137137
RUN apt-get update && \
138-
apt-get install -y btrfs-tools libseccomp-dev
138+
apt-get install -y libbtrfs-dev libseccomp-dev
139139
```
140140

141141
Let's suppose that you built an image called `containerd/build`. From the

contrib/Dockerfile.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ RUN ./install-runc
3838

3939
FROM golang-base AS dev
4040
RUN apt-get update && apt-get install -y \
41-
btrfs-tools \
41+
libbtrfs-dev \
42+
btrfs-progs \
4243
gcc \
4344
git \
4445
libseccomp-dev \

0 commit comments

Comments
 (0)