Skip to content

Instantly share code, notes, and snippets.

@hoesler
Last active November 30, 2017 17:34
Show Gist options
  • Save hoesler/66f4ab6a7d69d2cadde8bfe9a9582228 to your computer and use it in GitHub Desktop.
Save hoesler/66f4ab6a7d69d2cadde8bfe9a9582228 to your computer and use it in GitHub Desktop.
Pipenv #1094
FROM bitnami/minideb
RUN install_packages \
curl \
git \
openssl \
python3 \
python3-pkg-resources \
python3-pip \
python3-dev \
python3-setuptools
RUN git clone https://github.com/kennethreitz/pipenv.git /tmp/pipenv
RUN cd /tmp/pipenv && python3 setup.py install
RUN mkdir /tmp/project
WORKDIR /tmp/project
RUN curl -O https://gist.githubusercontent.com/hoesler/66f4ab6a7d69d2cadde8bfe9a9582228/raw/c03404af30ad2177503f10bdce22a3721d01103e/Pipfile
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN pipenv lock
RUN grep "boto" /tmp/project/Pipfile.lock
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
[packages]
apache-airflow = {extras = ["druid", "s3"], version = "==1.8.2"}
[requires]
python_version = "3.5"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment