Skip to content

Commit 4810d2d

Browse files
chore: Upgrade to python:3.9-slim-bullseye to fix docker build
1 parent 717ea47 commit 4810d2d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docker/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2019-2021 VMware, Inc. All Rights Reserved.
22
# SPDX-License-Identifier: BSD-2-Clause
33

4-
FROM python:3.9-slim-buster as base
4+
FROM python:3.9-slim-bullseye as base
55

66
FROM base as builder
77

@@ -13,9 +13,7 @@ RUN pip install --no-warn-script-location --prefix=/install \
1313

1414
FROM base
1515

16-
RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list \
17-
&& echo "Package: *\nPin: release n=bullseye\nPin-Priority: 50" > /etc/apt/preferences.d/bullseye \
18-
&& apt-get update \
16+
RUN apt-get update \
1917
&& apt-get install -y --no-install-recommends \
2018
attr \
2119
findutils \

0 commit comments

Comments
 (0)