2019-01-24 17:39:18 +01:00
|
|
|
FROM alpine:3.8
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-09-30 11:31:45 +02:00
|
|
|
RUN git clone http://192.168.30.152/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
|
|
|
|
|
|
|
|
CMD /usr/local/bin/run-tamarin
|