update to goland 1.14
parent
15f704b623
commit
92cd9ecb26
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.13-alpine3.10 AS build-env
|
FROM golang:1.14-alpine3.12 AS build-env
|
||||||
|
|
||||||
#Build deps
|
#Build deps
|
||||||
RUN apk --no-cache add build-base git
|
RUN apk --no-cache add build-base git
|
||||||
|
@ -7,10 +7,10 @@ RUN apk --no-cache add build-base git
|
||||||
COPY . /src/gitea-group-sync
|
COPY . /src/gitea-group-sync
|
||||||
WORKDIR /src/gitea-group-sync
|
WORKDIR /src/gitea-group-sync
|
||||||
|
|
||||||
RUN go get gopkg.in/ldap.v3 && go get gopkg.in/robfig/cron.v3 && go build
|
RUN go get -d -v && go build
|
||||||
|
|
||||||
# Final
|
# Final
|
||||||
FROM alpine:3.10
|
FROM alpine:3.12
|
||||||
|
|
||||||
COPY --from=build-env /src/gitea-group-sync/gitea-group-sync /app/gitea-group-sync/gitea-group-sync
|
COPY --from=build-env /src/gitea-group-sync/gitea-group-sync /app/gitea-group-sync/gitea-group-sync
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue