Skip to content

Commit

Permalink
[WIP] Add Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
shuichiro-makigaki committed Jan 31, 2020
1 parent 227d94f commit d753096
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python

ARG SOURCE_BRANCH
RUN pip install git+https://github.com/shuichiro-makigaki/mendeley_cli@${SOURCE_BRANCH}

ENTRYPOINT [ "mendeley" ]
CMD [ "--help" ]
3 changes: 3 additions & 0 deletions hooks/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

docker build --build-arg SOURCE_BRANCH=$SOURCE_BRANCH -f $DOCKERFILE_PATH -t $IMAGE_NAME .

0 comments on commit d753096

Please sign in to comment.