pidgin/builders

A few tweaks to the pvs-studio image

2021-01-22, Gary Kramlich
9429fae22647
A few tweaks to the pvs-studio image

* Don't error out if the license is near expiration
* Ignore V568 by default
* Add support to add additional overrides via environment variables
FROM pidgin/builders:debian-bullseye-amd64
ENV APPIMAGETOOL_URL=https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
RUN set -ex && \
wget ${APPIMAGETOOL_URL} -O /opt/appimagetool && \
chmod +x /opt/appimagetool && \
cd /opt/ && \
/opt/appimagetool --appimage-extract && \
mv /opt/squashfs-root /opt/appimagetool.AppDir && \
ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool && \
rm /opt/appimagetool
RUN set -ex && \
apt-get update && \
apt-get install -y python3-pip patchelf && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists && \
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git
# make sure that gdk-pixbuf-query-loaders ends up on the path
ENV PATH=/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0:$PATH
COPY appimage/build.sh /usr/local/bin/build.sh
CMD ["build.sh"]