2024-09-19 11:18:50 +02:00
|
|
|
FROM reg.cadoles.com/proxy_cache/library/alpine:3.20
|
2019-01-24 17:39:18 +01:00
|
|
|
|
|
|
|
ARG HTTP_PROXY=
|
|
|
|
ARG HTTPS_PROXY=
|
|
|
|
ARG http_proxy=
|
|
|
|
ARG https_proxy=
|
|
|
|
|
2020-09-16 17:08:15 +02:00
|
|
|
ARG TAMARIN_VERSION=develop
|
2019-01-24 17:39:18 +01:00
|
|
|
|
2021-06-01 10:24:13 +02:00
|
|
|
RUN apk add --no-cache git docker python3 bash openssl curl
|
2020-11-24 10:41:13 +01:00
|
|
|
|
2021-06-01 10:24:13 +02:00
|
|
|
RUN curl -k https://forge.cadoles.com/Cadoles/Jenkins/raw/branch/master/resources/com/cadoles/common/add-letsencrypt-ca.sh | bash
|
2019-01-24 17:39:18 +01:00
|
|
|
|
2024-09-19 11:18:50 +02:00
|
|
|
RUN git clone https://forge.cadoles.com/Cadoles/Tamarin /tamarin\
|
2019-01-24 17:39:18 +01:00
|
|
|
&& cd /tamarin\
|
|
|
|
&& git checkout ${TAMARIN_VERSION}
|
|
|
|
|
|
|
|
RUN mkdir -p /src
|
|
|
|
RUN mkdir -p /dist && touch /dist/.dummy
|
|
|
|
|
|
|
|
VOLUME /tamarin
|
|
|
|
VOLUME /src
|
|
|
|
VOLUME /dist
|
|
|
|
|
|
|
|
ADD run-tamarin.sh /usr/local/bin/run-tamarin
|
|
|
|
RUN chmod +x /usr/local/bin/run-tamarin
|
|
|
|
|
2020-11-24 10:41:13 +01:00
|
|
|
CMD /usr/local/bin/run-tamarin
|