Skip to content

Commit eb26bc7

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

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
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 \

docker/Dockerfile.scancode

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

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

2020
FROM base
2121

22-
RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list \
23-
&& echo "Package: *\nPin: release n=bullseye\nPin-Priority: 50" > /etc/apt/preferences.d/bullseye \
24-
&& apt-get update \
22+
RUN apt-get update \
2523
&& apt-get install -y --no-install-recommends \
2624
attr \
2725
findutils \

0 commit comments

Comments
 (0)