Dockerfiles: Remove manual exiftool upgrade
Distribution packages seem fixed now: https://ubuntu.com/security/CVE-2021-22204
This commit is contained in:
parent
1a90f4a454
commit
06e33c1a9e
|
@ -89,11 +89,6 @@ ENV LD_LIBRARY_PATH="/root/.local/lib:/usr/local/lib:/usr/lib:/lib" \
|
|||
#
|
||||
RUN /root/.local/bin/install-tensorflow.sh $TARGETARCH
|
||||
|
||||
# Update Exiftool, see https://ubuntu.com/security/CVE-2021-22204
|
||||
RUN wget "http://launchpadlibrarian.net/536122424/libimage-exiftool-perl_12.16+dfsg-2_all.deb" -O /tmp/libimage-exiftool-perl.deb && \
|
||||
dpkg -i /tmp/libimage-exiftool-perl.deb && \
|
||||
rm /tmp/libimage-exiftool-perl.deb
|
||||
|
||||
# Install NodeJS
|
||||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
|
||||
RUN add-apt-repository -y ppa:saiarcot895/chromium-beta && \
|
||||
|
|
|
@ -91,11 +91,6 @@ RUN apt-get update && apt-get dist-upgrade && apt-get install -y --no-install-re
|
|||
# Remove files to reduce image size
|
||||
RUN apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Update Exiftool, see https://ubuntu.com/security/CVE-2021-22204
|
||||
RUN wget "http://launchpadlibrarian.net/536122424/libimage-exiftool-perl_12.16+dfsg-2_all.deb" -O /tmp/libimage-exiftool-perl.deb && \
|
||||
dpkg -i /tmp/libimage-exiftool-perl.deb && \
|
||||
rm /tmp/libimage-exiftool-perl.deb
|
||||
|
||||
# Copy dependencies
|
||||
COPY --from=build /go/bin/gosu /bin/gosu
|
||||
COPY --from=build /usr/lib/libtensorflow.so /usr/lib/libtensorflow.so
|
||||
|
|
Loading…
Reference in a new issue