Browse Source

update to goland 1.14

pull/7/head
Selukov Andrey 4 years ago
parent
commit
92cd9ecb26
  1. 6
      Dockerfile

6
Dockerfile

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
FROM golang:1.13-alpine3.10 AS build-env
FROM golang:1.14-alpine3.12 AS build-env

#Build deps
RUN apk --no-cache add build-base git
@ -7,10 +7,10 @@ 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
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
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


Loading…
Cancel
Save