Skip to content

Commit

Permalink
Fix issue with 'go get' in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dotcs committed Nov 23, 2019
1 parent 3a94d81 commit cb5374e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
@@ -1,10 +1,12 @@
FROM golang:alpine

RUN apk add --update git bash openssl
RUN go get github.com/sachaos/todoist
RUN mkdir -p $GOPATH/src/github.com/sachaos/todoist

WORKDIR $GOPATH/src/github.com/sachaos/todoist

RUN git clone https://github.com/sachaos/todoist.git .

RUN go install
ARG TODOIST_API_TOKEN
RUN echo '{"token": "##TOKEN##", "color":"true"}' >> $HOME/.todoist.config.json
Expand Down

0 comments on commit cb5374e

Please sign in to comment.