Remove GO from project name

This commit is contained in:
Glenn Y. Rolland 2018-11-22 17:07:32 +01:00
parent 1c835e1ae7
commit a1b1c555be
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,9 @@
FROM golang:1.10 AS build
RUN go get github.com/glenux/trello2mail-go/...
WORKDIR /go/src/github.com/glenux/trello2mail-go
RUN go mod download github.com/glenux/trello2mail \
&& go get github.com/glenux/trello2mail/...
WORKDIR /go/src/github.com/glenux/trello2mail
RUN CGO_ENABLED=0 go build ./...
FROM alpine:3.7
@ -10,7 +12,7 @@ RUN apk update \
&& rm -rf /var/cache/apk/*
RUN mkdir /app
COPY --from=build /go/src/github.com/glenux/trello2mail-go/trello2mail /app/
COPY --from=build /go/src/github.com/glenux/trello2mail/trello2mail /app/
COPY docker/trello2mail.cron /app/
CMD ["/bin/sh", "-c", "/usr/bin/crontab /app/trello2mail.cron && /usr/sbin/crond -f"]

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/glenux/trello2mail-go
module github.com/glenux/trello2mail
require (
github.com/adlio/trello v0.0.0-20180621142300-8a458717123e