Skip to content

Commit

Permalink
dockerfile: make sure python3 won't become python33
Browse files Browse the repository at this point in the history
  • Loading branch information
shankerwangmiao committed Apr 1, 2024
1 parent fb7d162 commit 32ea323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN cd /usr/lib/python3/dist-packages && echo "/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4

# download and patch aosp-repo
ADD --chmod=0755 https://storage.googleapis.com/git-repo-downloads/repo /usr/local/bin/aosp-repo
RUN sed -i 's:#!/usr/bin/env python:#!/usr/bin/env python3:' /usr/local/bin/aosp-repo
RUN sed -i 's:^#!/usr/bin/env python$:#!/usr/bin/env python3:' /usr/local/bin/aosp-repo

# install ed for debmirror
RUN apt-get install --no-install-recommends -y ed

0 comments on commit 32ea323

Please sign in to comment.