Skip to content

Commit

Permalink
Address comment: use python-is-python3 package for bullseye builder
Browse files Browse the repository at this point in the history
  • Loading branch information
bocon13 committed Dec 6, 2021
1 parent 57a3043 commit ed9d8e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sonic-slave-bullseye/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ RUN apt-get update && apt-get install -y \
pkg-config \
# For audisp-tacplus
libauparse-dev \
auditd
auditd \
# For bazel build
python3-is-python

RUN apt-get -y build-dep openssh

Expand Down Expand Up @@ -524,6 +526,4 @@ LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node"
{%- if CONFIGURED_ARCH == "amd64" or CONFIGURED_ARCH == "arm64" %}
ARG bazelisk_url=https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-{{ CONFIGURED_ARCH }}
RUN curl -fsSL -o /usr/local/bin/bazel ${bazelisk_url} && chmod 755 /usr/local/bin/bazel
# Bazel depends on "python" command, but python3 is okay
RUN ln -s /usr/bin/python3 /usr/bin/python
{% endif -%}

0 comments on commit ed9d8e8

Please sign in to comment.