1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Fix Docker image build

This commit is contained in:
Carles Fernandez 2018-02-10 00:57:17 +01:00
parent 918f11c345
commit caebea5fd6

View File

@ -80,6 +80,18 @@ ubuntu-18.04-build:
- 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:
image: docker:latest
stage: build
@ -90,8 +102,11 @@ docker-gnsssdr:
script:
- mkdir 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"
dependencies:
- get-dockerfile
# Stage "test"