Update golang version in Dockerfile.

This commit is contained in:
Stanislav Nikitin 2021-11-20 23:08:14 +05:00
parent d5fcc5cef9
commit f0c5fbf68d
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550

View File

@ -1,4 +1,4 @@
FROM golang:1.13.1-alpine AS build FROM golang:1.17.3-alpine AS build
WORKDIR /go/src/sources.dev.pztrn.name/pztrn/giredore WORKDIR /go/src/sources.dev.pztrn.name/pztrn/giredore
COPY . . COPY . .
@ -13,4 +13,4 @@ COPY --from=build /go/src/sources.dev.pztrn.name/pztrn/giredore/cmd/giredored/gi
COPY --from=build /go/src/sources.dev.pztrn.name/pztrn/giredore/cmd/giredorectl/giredorectl /usr/local/bin/giredorectl COPY --from=build /go/src/sources.dev.pztrn.name/pztrn/giredore/cmd/giredorectl/giredorectl /usr/local/bin/giredorectl
EXPOSE 62222 EXPOSE 62222
ENTRYPOINT [ "/usr/local/bin/giredored" ] ENTRYPOINT [ "/usr/local/bin/giredored" ]