Ajout d'utilitaires pour le packaging Debian via Jenkins

Permet de reproduire le comportement de l'actuel serveur d'empaquetage
Marang.
This commit is contained in:
2019-01-24 17:39:18 +01:00
commit 573715c9d7
4 changed files with 164 additions and 0 deletions

View File

@ -0,0 +1,26 @@
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
RUN git clone https://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