# HG changeset patch # User drewp@bigasterisk.com # Date 1725666381 25200 # Node ID ef42c9731057c6585e02a1b6d9eab137a2085224 # Parent 19e3def953e1ed0755f892a9fbe5a8a7462c656d forgot this sloppy Dockerfile diff -r 19e3def953e1 -r ef42c9731057 calsync/Dockerfile --- /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