general dep update

This commit is contained in:
2022-04-12 12:25:01 +02:00
parent 4edfb03442
commit 705312b4df
3 changed files with 44 additions and 20 deletions

View File

@ -1,8 +1,8 @@
FROM golang:1.15 as builder
FROM golang:1.18 as builder
ENV CGO_ENABLED=0
ADD main.go /go/src/short/
ADD main.go go.* /go/src/short/
WORKDIR /go/src/short
@ -15,4 +15,4 @@ LABEL maintainer="Thomas Andrade <wolvie@gmail.com>"
COPY --from=builder /go/src/short/short /
COPY templates /templates
ENTRYPOINT [ "/short" ]
ENTRYPOINT [ "/short" ]