File tree 2 files changed +3
-9
lines changed
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 3
3
storage
4
4
! storage
5
5
** deploy
6
- ** workload
7
6
** prometheus
8
- ** / .git
7
+ .git / modules
9
8
** /.terraform
10
9
c-deps /jemalloc
11
10
c-deps /libs
Original file line number Diff line number Diff line change @@ -32,23 +32,18 @@ RUN git clone --depth 1 -b ${BRANCH} ${REPO} . &&\
32
32
./builddeps.sh
33
33
34
34
FROM golang:1.12.5
35
- # Allow cloning custom repo & branch for testing
36
- ARG QED_REPO=https://github.com/bbva/qed.git
37
- ARG QED_REPO_BRANCH=master
38
35
ARG BUILD_META=rc1
39
36
40
37
ENV GO111MODULE=on
41
38
ENV CGO_LDFLAGS_ALLOW='.*'
42
- ENV REPO=${QED_REPO}
43
- ENV BRANCH=${QED_REPO_BRANCH}
44
39
45
40
WORKDIR /go/src/github.com/bbva/qed
46
41
47
42
# Copy C deps form builder container
48
43
COPY --from=0 /go/src/github.com/bbva/qed/c-deps /tmp/c-deps
49
44
50
- # This step acts as cache to avoid recompiling when Go code changes.
51
- RUN git clone --depth 1 -b ${BRANCH} ${REPO} .
45
+ # Copy current source
46
+ COPY ./ .
52
47
53
48
# Download QED dependencies
54
49
RUN go mod download
You can’t perform that action at this time.
0 commit comments