Commit c9725df4 authored by Ingar Smedstad's avatar Ingar Smedstad
Browse files

initial release

parents
Pipeline #12403 passed with stage
in 1 minute and 53 seconds
image: docker:19.03.1
stages:
- build
before_script:
- echo -n $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
build:
stage: build
script:
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --cache-from $CI_REGISTRY_IMAGE:latest
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker push $CI_REGISTRY_IMAGE:latest
FROM ubuntu:bionic
RUN apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y ruby ruby-dev rubygems build-essential \
&& gem install --no-document fpm \
# ubuntufpm
docker image for building packages with fpm, based on Ubuntu Bionic.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment