-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
540 additions
and
1,013 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
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,29 +1,22 @@ | ||
FROM debian | ||
FROM python:3.7 | ||
MAINTAINER Álvaro Justen <https://github.com/turicas> | ||
|
||
# install system dependencies | ||
# Install system dependencies | ||
RUN apt-get update | ||
RUN apt-get install --no-install-recommends -y build-essential git locales \ | ||
python-dev python-lxml \ | ||
python-pip python-snappy \ | ||
python-thrift && \ | ||
apt-get clean | ||
RUN apt-get install --no-install-recommends -y \ | ||
build-essential git locales python3-dev libsnappy-dev \ | ||
libxml2-dev libxslt-dev libz-dev && \ | ||
apt-get clean && \ | ||
pip install --no-cache-dir -U pip | ||
|
||
#thrift (used by parquet plugin) is the only which needs build-essential and | ||
#python-dev to be installed (installing python-thrift doesn't do the job). | ||
|
||
#You can build other Python libraries from source by installing: | ||
# libsnappy-dev libxml2-dev libxslt-dev libz-dev | ||
#and not installing: | ||
# python-lxml python-snappy | ||
|
||
# configure locale (needed to run tests) | ||
# Configure locale (needed to run tests) | ||
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen | ||
RUN echo 'pt_BR.UTF-8 UTF-8' >> /etc/locale.gen | ||
RUN /usr/sbin/locale-gen | ||
|
||
# clone the repository and install Python dependencies | ||
RUN git clone https://github.com/turicas/rows.git ~/rows | ||
RUN cd ~/rows && pip install -r requirements-development.txt && \ | ||
rm -rf ~/.cache/pip/ | ||
RUN cd ~/rows && pip install -e . | ||
# Clone the repository and install Python dependencies | ||
RUN git clone https://github.com/turicas/rows.git /rows | ||
RUN cd /rows && \ | ||
git checkout master && \ | ||
pip install --no-cache-dir -r requirements-development.txt && \ | ||
pip install --no-cache-dir -e . |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.