forked from teamhephy/workflow-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (19 loc) · 859 Bytes
/
Dockerfile
File metadata and controls
27 lines (19 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM hephy/go-dev:v0.22.0
# This Dockerfile is used to bundle the source and all dependencies into an image for testing.
RUN echo "deb http://packages.cloud.google.com/apt cloud-sdk-jessie main" \
| tee /etc/apt/sources.list.d/google-cloud-sdk.list \
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg \
| apt-key add - \
&& apt-get update \
&& apt-get install -y google-cloud-sdk \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV CGO_ENABLED=0
ADD https://codecov.io/bash /usr/local/bin/codecov
RUN chmod +x /usr/local/bin/codecov
COPY glide.yaml /go/src/github.com/teamhephy/workflow-cli/
COPY glide.lock /go/src/github.com/teamhephy/workflow-cli/
WORKDIR /go/src/github.com/teamhephy/workflow-cli
RUN glide install --strip-vendor
COPY ./_scripts /usr/local/bin
COPY . /go/src/github.com/teamhephy/workflow-cli