Première version du pipeline pour la compilation des supports de formation
This commit is contained in:
@ -1,17 +1,16 @@
|
||||
FROM alpine:3.12
|
||||
FROM alpine:latest
|
||||
|
||||
ARG HTTP_PROXY=
|
||||
ARG HTTPS_PROXY=
|
||||
ARG http_proxy=
|
||||
ARG https_proxy=
|
||||
|
||||
ARG TAMARIN_VERSION=develop
|
||||
|
||||
RUN apk add --no-cache git docker python3 bash openssl curl
|
||||
|
||||
RUN curl -k https://forge.cadoles.com/Cadoles/Jenkins/raw/branch/master/resources/com/cadoles/common/add-letsencrypt-ca.sh | bash
|
||||
|
||||
RUN git clone http://forge.cadoles.com/Cadoles/Tamarin /tamarin\
|
||||
ARG TAMARIN_VERSION=feature/doc-compile
|
||||
RUN git clone https://forge.cadoles.com/Cadoles/Tamarin /tamarin\
|
||||
&& cd /tamarin\
|
||||
&& git checkout ${TAMARIN_VERSION}
|
||||
|
||||
|
@ -28,6 +28,6 @@ DEST_DIR=${TAMARIN_DEST_DIR:-dist}
|
||||
mkdir -p ${DEST_DIR}
|
||||
for f in /dist/*; do
|
||||
if [ -e "$f" ]; then
|
||||
cp "$f" ./${DEST_DIR}
|
||||
cp -r "$f" ./${DEST_DIR}
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
Reference in New Issue
Block a user