fix(renovate): add pre-commit to renovate
This commit is contained in:
@@ -6,12 +6,30 @@ ARG CONTAINER_NAME
|
|||||||
ARG CONTAINER_VER
|
ARG CONTAINER_VER
|
||||||
ARG TEST
|
ARG TEST
|
||||||
|
|
||||||
|
# Ensure python is installed
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& \
|
||||||
|
apt-get -qq install -y \
|
||||||
|
python3
|
||||||
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
|
||||||
|
&& apt-get autoremove -y \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& \
|
||||||
|
rm -rf \
|
||||||
|
/tmp/* \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/ \
|
||||||
|
&& update-ca-certificates
|
||||||
|
|
||||||
# Download and set up the clustertool binary
|
# Download and set up the clustertool binary
|
||||||
RUN curl -L "https://github.com/truecharts/public/releases/download/v${VERSION}/clustertool_${VERSION}_linux_amd64.tar.gz" -o /tmp/clustertool.tar.gz \
|
RUN curl -L "https://github.com/truecharts/public/releases/download/v${VERSION}/clustertool_${VERSION}_linux_amd64.tar.gz" -o /tmp/clustertool.tar.gz \
|
||||||
&& tar -xzvf /tmp/clustertool.tar.gz -C /usr/local/bin \
|
&& tar -xzvf /tmp/clustertool.tar.gz -C /usr/local/bin \
|
||||||
&& chmod +x /usr/local/bin/clustertool \
|
&& chmod +x /usr/local/bin/clustertool \
|
||||||
&& rm /tmp/clustertool.tar.gz
|
&& rm /tmp/clustertool.tar.gz
|
||||||
|
|
||||||
|
# Download and install pre-commit
|
||||||
|
RUN pip install pre-commit
|
||||||
|
|
||||||
# Maintainer and metadata
|
# Maintainer and metadata
|
||||||
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
|
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
|
||||||
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps"
|
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps"
|
||||||
|
|||||||
Reference in New Issue
Block a user