Skip to content
Snippets Groups Projects
Commit 2776b497 authored by Alexey Kuklin's avatar Alexey Kuklin
Browse files

initial

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #
image: docker:latest
services:
- docker:dind
stages:
- build
variables:
TEST_IMAGE: registry.vereign.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
RELEASE_IMAGE: registry.vereign.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:latest
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.vereign.com
build:
stage: build
tags:
- hv2
script:
- docker build --pull -t $TEST_IMAGE -f Dockerfile .
- docker push $TEST_IMAGE
FROM golang:1.10.3
ENV DEBIAN_FRONTEND=noninteractive
RUN go get -u github.com/golang/dep/cmd/dep \
&& echo deb http://deb.debian.org/debian stretch-backports main \
&& apt-get update \
&& apt-get install -y --no-install-recommends supervisor crudini \
&& crudini --set /etc/supervisor/supervisord.conf supervisord nodaemon true
ENTRYPOINT exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment