Mercurial > code > home > repos > gcalendarwatch
view calsync/Dockerfile @ 83:7f50e5bb30f5
ide
author | drewp@bigasterisk.com |
---|---|
date | Sat, 07 Sep 2024 16:12:15 -0700 |
parents | ef42c9731057 |
children |
line wrap: on
line source
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