我想在Docker镜像中的Python上安装Google Chrome。因此,我需要安装libappindicator1
。但是,在构建此Dockerfile时,我遇到了libappindicator1
的错误。
Dockerfile
FROM python:3.9
# Install manually all the missing libraries
RUN apt-get update
RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libcairo2 libcups2 libfontconfig1 libgdk-pixbuf2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libxss1 fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils fonts-takao-*
# Install Chrome
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install
错误信息
E: Unable to locate package libappindicator1
我该如何在Docker镜像的Python中安装libappindicator1?