Skip to content
Snippets Groups Projects
Commit 76137b51 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Added Dockerfile

parent 1ce4213c
No related branches found
No related tags found
No related merge requests found
FROM golang:1.4
RUN git clone https://gitlab.com/gitlab-org/gitlab-ci-multi-runner.git \
/go/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner \
-b master --depth 1
COPY . /go/src/gitlab-runner-docker-cleanup
WORKDIR /go/src/gitlab-runner-docker-cleanup
RUN go-wrapper download
RUN go-wrapper install
RUN go-wrapper download gopkg.in/check.v1
RUN go test
ENTRYPOINT ["go-wrapper", "run"]
REVISION := $(shell git rev-parse --short HEAD || echo unknown)
VERSION := $(shell git describe --tags || cat VERSION || echo dev)
VERSION := $(shell git describe --tags || echo dev)
VERSION := $(shell echo $(VERSION) | sed -e 's/^v//g')
 
all:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment