mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Create a Docker image for the experiment
This commit is contained in:
parent
11c8134eb4
commit
dcfca027f4
@ -146,10 +146,26 @@ docker-gnsssdr:
|
|||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
|
||||||
|
docker-experiment:
|
||||||
|
image: docker:latest
|
||||||
|
stage: deploy
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
script:
|
||||||
|
- wget https://raw.githubusercontent.com/carlesfernandez/docker-gnsssdr/master/Dockerfile
|
||||||
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
|
||||||
|
- mkdir docker-build
|
||||||
|
- cd docker-build
|
||||||
|
- cp ../Dockerfile .
|
||||||
|
- docker build -t carlesfernandez/docker-gnsssdr .
|
||||||
|
- docker tag carlesfernandez/docker-gnsssdr:latest carlesfernandez/docker-gnsssdr:test
|
||||||
|
- docker push carlesfernandez/docker-gnsssdr:test
|
||||||
|
|
||||||
|
|
||||||
# Stage "experiment"
|
# Stage "experiment"
|
||||||
run-experiment:
|
run-experiment:
|
||||||
image: carlesfernandez/docker-gnsssdr:latest
|
image: carlesfernandez/docker-gnsssdr:test
|
||||||
stage: build
|
stage: experiment
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
# Grab analysis and representation tools
|
# Grab analysis and representation tools
|
||||||
|
Loading…
Reference in New Issue
Block a user