EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit d470e294 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

updated testing base image

parent 07a8b31a
Branches
Tags
1 merge request!36Staging to master to prepare 1.0.0 release
...@@ -5,7 +5,7 @@ stages: ...@@ -5,7 +5,7 @@ stages:
- build - build
build-tag: build-tag:
image: docker:latest image: registry.gitlab.eox.at/esa/prism/vs/docker-base-testing:latest
stage: build stage: build
services: services:
- docker:dind - docker:dind
...@@ -35,7 +35,7 @@ build-tag: ...@@ -35,7 +35,7 @@ build-tag:
only: only:
- tags - tags
build-master-staging: build-master-staging:
image: docker:latest image: registry.gitlab.eox.at/esa/prism/vs/docker-base-testing:latest
stage: build stage: build
services: services:
- docker:dind - docker:dind
...@@ -69,7 +69,7 @@ build-master-staging: ...@@ -69,7 +69,7 @@ build-master-staging:
except: except:
- tags - tags
build: build:
image: docker:latest image: registry.gitlab.eox.at/esa/prism/vs/docker-base-testing:latest
stage: build stage: build
services: services:
- docker:dind - docker:dind
......
#------------------------------------------------------------------------------
#
# Project: prism view server
# Authors: Stephan Meissl <stephan.meissl@eox.at>
#
#------------------------------------------------------------------------------
# Copyright (C) 2020 EOX IT Services GmbH <https://eox.at>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies of this Software or works derived from this Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
#-----------------------------------------------------------------------------
# this image is built manually and pushed to registry.gitlab.eox.at/esa/prism/vs/docker-base-testing
FROM docker:latest
RUN apk update && apk add bash postgresql-dev gcc g++ python3 python3-dev musl-dev py-pip libffi-dev openssl-dev make gdal==3.1.4-r0 gdal-dev==3.1.4-r0
ADD requirements.txt /
RUN pip3 install -r requirements.txt
...@@ -38,10 +38,6 @@ printf $sftp_users_emg | docker config create sftp_users_emg - ...@@ -38,10 +38,6 @@ printf $sftp_users_emg | docker config create sftp_users_emg -
docker stack deploy -c ../docker-compose.emg.yml -c ../docker-compose.emg.dev.yml emg-pvs docker stack deploy -c ../docker-compose.emg.yml -c ../docker-compose.emg.dev.yml emg-pvs
# installing the requirments
apk update && apk add bash postgresql-dev gcc g++ python3 python3-dev musl-dev py-pip libffi-dev openssl-dev make gdal==3.1.4-r0 gdal-dev==3.1.4-r0
pip3 install -r requirements.txt
./docker-stack-wait.sh -n renderer -n registrar -n preprocessor -n ingestor -n sftp emg-pvs ./docker-stack-wait.sh -n renderer -n registrar -n preprocessor -n ingestor -n sftp emg-pvs
docker service ls docker service ls
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment