Skip to content
Snippets Groups Projects
Commit 22015195 authored by Brice Copy's avatar Brice Copy
Browse files

Add bash shell for echo command call

parent 0a93c656
No related branches found
No related tags found
No related merge requests found
Pipeline #1123103 passed
......@@ -33,9 +33,9 @@ RUN wget -O /tmp/cern-root-ca-2.crt "https://cafiles.cern.ch/cafiles/certifica
keytool -noprompt -import -cacerts -storepass changeit -alias CERN_CA -file "/tmp/cern-ca.crt" && \
keytool -noprompt -import -cacerts -storepass changeit -alias CERN_CA_1 -file "/tmp/cern-ca-1.crt" && \
keytool -noprompt -import -cacerts -storepass changeit -alias CERN_GRID_CA -file "/tmp/cern-grid-ca.crt" && \
rm /tmp/*.crt && \
mkdir -p ~/.ssh && \
echo -e "Host gitlab.cern.ch\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
/bin/bash -c 'echo -e "Host gitlab.cern.ch\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' && \
rm /tmp/*.crt
RUN mkdir -p /opt
ADD src/main/java/SSLPoke.java /opt
......
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