mirror of https://github.com/0xERR0R/blocky.git
added cache mount
This commit is contained in:
parent
a283390183
commit
e30063d128
|
@ -39,7 +39,7 @@ ENV GO111MODULE=on
|
|||
ENV CGO_ENABLED=0
|
||||
|
||||
# build binary
|
||||
RUN make build-static
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build make build-static
|
||||
RUN setcap 'cap_net_bind_service=+ep' /src/bin/blocky
|
||||
RUN chown blocky /src/bin/blocky
|
||||
|
||||
|
|
Loading…
Reference in New Issue