mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-08-19 14:16:09 +00:00
Fix Docker image build
This commit is contained in:
parent
918f11c345
commit
caebea5fd6
|
@ -80,6 +80,18 @@ ubuntu-18.04-build:
|
||||||
- make install
|
- make install
|
||||||
|
|
||||||
|
|
||||||
|
get-dockerfile:
|
||||||
|
image: debian:9.3-slim
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y --no-install-recommends git
|
||||||
|
- git clone https://github.com/carlesfernandez/docker-gnsssdr
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- docker-gnsssdr/
|
||||||
|
|
||||||
|
|
||||||
docker-gnsssdr:
|
docker-gnsssdr:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -90,8 +102,11 @@ docker-gnsssdr:
|
||||||
script:
|
script:
|
||||||
- mkdir docker-build
|
- mkdir docker-build
|
||||||
- cd docker-build
|
- cd docker-build
|
||||||
- docker build -t carlesfernandez/docker-gnsssdr github.com/carlesfernandez/docker-gnsssdr
|
- cp ../docker-gnsssdr/Dockerfile .
|
||||||
|
- docker build -t -pull carlesfernandez/docker-gnsssdr .
|
||||||
- docker push "$CI_REGISTRY_IMAGE"
|
- docker push "$CI_REGISTRY_IMAGE"
|
||||||
|
dependencies:
|
||||||
|
- get-dockerfile
|
||||||
|
|
||||||
|
|
||||||
# Stage "test"
|
# Stage "test"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user