Mercurial > code > home > repos > gcalendarwatch
changeset 64:ef42c9731057
forgot this sloppy Dockerfile
author | drewp@bigasterisk.com |
---|---|
date | Fri, 06 Sep 2024 16:46:21 -0700 |
parents | 19e3def953e1 |
children | 329144c7e711 |
files | calsync/Dockerfile |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/calsync/Dockerfile Fri Sep 06 16:46:21 2024 -0700 @@ -0,0 +1,22 @@ +FROM reg:5000/base_basic + +WORKDIR /opt +RUN apt-get install -y golang + +COPY go.mod go.sum credentials.json token.json ./ +RUN go get -x || true + +RUN go get github.com/dchest/uniuri \ +&& go get github.com/gorilla/mux \ +&& go get go.mongodb.org/mongo-driver \ +&& go get golang.org/x/oauth2 \ +&& go get google.golang.org/api + +COPY convert/ ./convert/ +COPY gcalclient/ ./gcalclient/ +COPY mongoclient/ ./mongoclient/ +COPY mongoclienttypes/ ./mongoclienttypes/ +COPY notificationrouter/ ./notificationrouter/ +COPY *.go ./ +RUN go get +RUN go build -o /opt/calsync