-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated Dockerfile. Replaced is_valid_dir to is_valid_dir_or_url in cli
- Loading branch information
1 parent
fc048f9
commit 821b860
Showing
7 changed files
with
82 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
FROM python:3.8-buster | ||
FROM ubuntu:20.04 | ||
|
||
MAINTAINER Stefano Dalla Palma | ||
|
||
RUN python3.8 -m pip install --upgrade pip | ||
# Install python | ||
RUN apt-get update \ | ||
&& apt-get install -y python3-pip python3-dev \ | ||
&& cd /usr/local/bin \ | ||
&& ln -s /usr/bin/python3 python \ | ||
&& pip3 install --upgrade pip | ||
|
||
# Install git | ||
RUN apt-get install git -y | ||
|
||
COPY . /app | ||
WORKDIR /app | ||
|
||
RUN pip install repository-miner==0.7.0 | ||
# Install application (latest) | ||
RUN pip install -r requirements.txt | ||
RUN pip install repository-miner | ||
|
||
CMD repo-miner -h | ||
# Environment variable for temporary repositories | ||
ENV TMP_REPOSITORIES_DIR=/tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters