Dockerfile_build 453 Bytes
Newer Older
1
FROM ci_mdanse_trusty
eric pellegrini's avatar
eric pellegrini committed
2
3
4

SHELL ["/bin/bash", "-c"]

5
6
ARG CI_COMMIT_SHORT_SHA
ARG CI_COMMIT_REF_NAME
eric pellegrini's avatar
eric pellegrini committed
7

8
9
ENV CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA}
ENV CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME}
eric pellegrini's avatar
eric pellegrini committed
10

11
12
COPY ./ /app/
WORKDIR /app
eric pellegrini's avatar
eric pellegrini committed
13

14
CMD source ./BuildServer/Unix/Debian/definitions.sh;  source ./BuildServer/Unix/setup_ci.sh; ./BuildServer/Unix/build.sh; ./BuildServer/Unix/tests.sh; cp -a ${CI_PROJECT_DIR}/build /artifacts/; cp -a ${CI_PROJECT_DIR}/temp /artifacts/