update image version , update go modules

This commit is contained in:
Jay
2019-03-05 17:14:20 +08:00
parent fd5a5fcd1c
commit 92d6af5203
3 changed files with 345 additions and 9 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
FROM golang:1.11-alpine3.8 as builder
FROM golang:1.12-alpine as builder
WORKDIR /data
RUN apk add --no-cache make git build-base
COPY . .
@@ -11,4 +11,4 @@ COPY scripts/download-geodb.sh /usr/bin
RUN apk add --no-cache ca-certificates wget curl && \
/usr/bin/download-geodb.sh
EXPOSE 10230
CMD ["/usr/bin/geoip"]
CMD ["/usr/bin/geoip"]