Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
some fixes
  • Loading branch information
3nids committed Aug 14, 2017
1 parent 050682a commit e6657df
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ci/travis/linux/before_script.sh
Expand Up @@ -20,7 +20,7 @@ pushd .docker
docker --version
#docker pull ubuntu:16.04
docker pull "qgis/qgis3-build-deps:${DOCKER_TAG}" || true
docker build --file deps-Dockerfile \
docker build --file Dockerfile-deps \
--cache-from "qgis/qgis3-build-deps:${DOCKER_TAG}"\
--tag "qgis/qgis3-build-deps:${DOCKER_TAG}" .
# image should be pushed even if QGIS build fails
Expand Down
10 changes: 10 additions & 0 deletions .docker/Dockerfile-build-test
@@ -0,0 +1,10 @@

ARG DOCKER_TAG=latest

FROM qgis/qgis3-build-deps:$DOCKER_TAG
MAINTAINER Denis Rouzaud <denis.rouzaud@gmail.com>

RUN ls /root/.ccache

RUN echo "DDDD"
RUN /root/QGIS/.ci/travis/linux/docker-build-test.sh
4 changes: 1 addition & 3 deletions .docker/deps-Dockerfile → .docker/Dockerfile-deps
@@ -1,5 +1,4 @@


FROM ubuntu:16.04
MAINTAINER Denis Rouzaud <denis.rouzaud@gmail.com>

Expand All @@ -20,6 +19,7 @@ RUN apt-get update \
dh-python \
flex \
gdal-bin \
git \
graphviz \
grass-dev \
libexpat1-dev \
Expand Down Expand Up @@ -102,5 +102,3 @@ ENV QT_SELECT=5
# RUN cmake --version
# RUN ${CC} --version
# RUN ${CXX} --version

RUN apt-get install -y git
4 changes: 3 additions & 1 deletion .docker/docker-compose.travis.yml
Expand Up @@ -8,7 +8,9 @@ services:
qgis-build-and-test:
build:
context: .
dockerfile: build-Dockerfile
dockerfile: Dockerfile-build-test
args:
DOCKER_TAG: ${DOCKER_TAG}
tty: true
image: qgis/qgis3-run:${DOCKER_TAG}
volumes:
Expand Down

0 comments on commit e6657df

Please sign in to comment.