Skip to content

Commit

Permalink
Merge pull request #197 from cdklabs/dev
Browse files Browse the repository at this point in the history
chore: try remove go mod download to see if we can speed up build time
  • Loading branch information
wchaws authored May 28, 2022
2 parents 7461495 + 8b36701 commit 4fbefc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ WORKDIR /ws

COPY go.mod go.sum ./

RUN go env && go mod download -x
RUN go env

# RUN go mod download -x

COPY . /ws

Expand Down
4 changes: 3 additions & 1 deletion test/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ ADD . /opt/awscli
# run tests
WORKDIR /opt/awscli

RUN go env && go mod download -x && make test
RUN go env
# RUN go mod download -x
RUN make test

ENTRYPOINT [ "/bin/bash" ]

0 comments on commit 4fbefc8

Please sign in to comment.