Skip to content

Commit f4e922a

Browse files
committed
feat: add cache
1 parent 19f57ec commit f4e922a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ $(targets): %-in-docker: .env.docker
5858
--volume /var/lib/docker:/var/lib/docker \
5959
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
6060
--volume ${PWD}:/src/github.com/$(MAINTAINER)/$(REPOSITORY) \
61+
--volume ${PWD}/build/go-mod-cache:/go/pkg/mod \
62+
--volume ${PWD}/build/go-cache:/go/cache \
6163
--workdir /src/github.com/$(MAINTAINER)/$(REPOSITORY) \
6264
$(IMAGE_NAME):build make -e $(@:-in-docker=)
6365

0 commit comments

Comments
 (0)