Skip to content
Open
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
6 changes: 2 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2019-2021 VMware, Inc. All Rights Reserved.
# SPDX-License-Identifier: BSD-2-Clause

FROM python:3.9-slim-buster as base
FROM python:3.9-slim-bullseye as base

FROM base as builder

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

FROM base

RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list \
&& echo "Package: *\nPin: release n=bullseye\nPin-Priority: 50" > /etc/apt/preferences.d/bullseye \
&& apt-get update \
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
attr \
findutils \
Expand Down
6 changes: 2 additions & 4 deletions docker/Dockerfile.scancode
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2019-2021 VMware, Inc. All Rights Reserved.
# SPDX-License-Identifier: BSD-2-Clause

FROM python:3.9-slim-buster as base
FROM python:3.9-slim-bullseye as base

FROM base as builder

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

FROM base

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