Install ed in base image for debmirror

Signed-off-by: Harry Chen <i@harrychen.xyz>
This commit is contained in:
Harry Chen 2023-12-03 11:19:55 +08:00
parent b9059ae17c
commit 5a98ccb843

View File

@ -36,3 +36,6 @@ RUN cd /usr/lib/python3/dist-packages && echo "/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4
# download and patch aosp-repo # download and patch aosp-repo
ADD --chmod=0755 https://storage.googleapis.com/git-repo-downloads/repo /usr/local/bin/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