File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ FROM ghcr.io/hasadna/knesset-data-pipelines/knesset-data-pipelines:8028b98004108
10
10
# COPY Pipfile.lock /pipelines/
11
11
# RUN pipenv install --system --deploy --ignore-pipfile
12
12
# RUN python3 -m pip install jupyterlab
13
- RUN pip uninstall -y knesset-data &&\
14
- pip install -e 'git+https://github.com/hasadna/knesset-data-python.git@3e3141ff76eabf20a72d16fc098544759f5952a8#egg=knesset-data'
13
+ RUN KNESSET_DATA_COMMIT=3e3141ff76eabf20a72d16fc098544759f5952a8 &&\
14
+ pip uninstall -y knesset-data &&\
15
+ pip install -e "git+https://github.com/hasadna/knesset-data-python.git@${KNESSET_DATA_COMMIT}#egg=knesset-data" &&\
16
+ echo "__version__ = '${KNESSET_DATA_COMMIT}'" >> /pipelines/src/knesset-data/knesset_data/__init__.py
15
17
COPY datapackage_pipelines_knesset /pipelines/datapackage_pipelines_knesset
16
18
COPY setup.py /pipelines/
17
19
RUN pip install -e .
You can’t perform that action at this time.
0 commit comments