Skip to content
Snippets Groups Projects
Commit 8d58bb93 authored by Céline Raillé's avatar Céline Raillé Committed by Guillaume Eynard-Bontemps
Browse files

Check certificate ci

parent 66b19a3f
No related branches found
No related tags found
1 merge request!112Check certificate ci
......@@ -12,7 +12,7 @@ RUN if [ -f "/kaniko/run/secrets/http_proxy" ]; then export http_proxy=$(cat /ka
apt-get install -y ca-certificates
#Ajout des certificats
COPY certs/* /usr/local/share/ca-certificates/
COPY cert[s]/* /usr/local/share/ca-certificates/
RUN update-ca-certificates
# Install required packages
......@@ -52,11 +52,11 @@ RUN if [ -f "/kaniko/run/secrets/http_proxy" ]; then export http_proxy=$(cat /ka
&& \
rm -rf /var/lib/apt/lists/*
# Build OTB
# Build OTB
RUN if [ -f "/kaniko/run/secrets/http_proxy" ]; then export http_proxy=$(cat /kaniko/run/secrets/http_proxy); export https_proxy=$(cat /kaniko/run/secrets/https_proxy); fi && \
mkdir -p /root/otb-build/build && \
cd /root/otb-build && \
wget --no-check-certificate -q https://www.orfeo-toolbox.org/packages/archives/OTB/OTB-7.4.1.zip -O /tmp/OTB.zip && \
wget -q --ca-certificate=/usr/local/share/ca-certificates/ca-bundle.crt https://www.orfeo-toolbox.org/packages/archives/OTB/OTB-7.4.1.zip -O /tmp/OTB.zip && \
unzip /tmp/OTB.zip && \
cd /root/otb-build/build && \
cmake \
......@@ -115,7 +115,7 @@ RUN ln -s /usr/bin/python3 /usr/bin/python && \
RUN if [ -f "/kaniko/run/secrets/http_proxy" ]; then export http_proxy=$(cat /kaniko/run/secrets/http_proxy); export https_proxy=$(cat /kaniko/run/secrets/https_proxy); fi && \
mkdir -p /root/dans-build && \
cd /root/dans-build && \
wget --no-check-certificate -q https://github.com/gina-alaska/dans-gdal-scripts/archive/refs/heads/master.zip -O /tmp/dans.zip && \
wget -q --ca-certificate=/usr/local/share/ca-certificates/ca-bundle.crt https://github.com/gina-alaska/dans-gdal-scripts/archive/refs/heads/master.zip -O /tmp/dans.zip && \
unzip /tmp/dans.zip && \
cd dans-gdal-scripts-master && \
./autogen.sh && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment