Jenkins/resources/com/cadoles/tamarin/Dockerfile

29 lines
683 B
Docker
Raw Normal View History

2023-02-15 16:28:57 +01:00
FROM reg.cadoles.com/proxy_cache/library/alpine:3.12
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
2020-01-06 15:35:11 +01:00
RUN git clone http://forge.cadoles.com/Cadoles/Tamarin /tamarin\
&& 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
CMD /usr/local/bin/run-tamarin