fix(dockerfile): Pull apt-fast from existing image
This commit is contained in:
+4
-6
@@ -13,14 +13,12 @@ FROM python:3.10-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install git, exiftool
|
# Install apt-fast, git, exiftool
|
||||||
|
|
||||||
|
COPY --from=nobodyxu/apt-fast:latest-debian-buster-slim /usr/local/ /usr/local/
|
||||||
|
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install -y software-properties-common
|
RUN apt install -y aria2
|
||||||
RUN add-apt-repository ppa:apt-fast/stable
|
|
||||||
RUN apt install -y apt-fast
|
|
||||||
RUN apt update
|
|
||||||
|
|
||||||
RUN apt-fast install -y git build-essential xorg libssl-dev libxrender-dev libpango-1.0-0 wget
|
RUN apt-fast install -y git build-essential xorg libssl-dev libxrender-dev libpango-1.0-0 wget
|
||||||
|
|
||||||
ENV EXIFTOOL_VERSION="13.06"
|
ENV EXIFTOOL_VERSION="13.06"
|
||||||
|
|||||||
Reference in New Issue
Block a user