update image version , update go modules
This commit is contained in:
+2
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user