Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

address ci build time #287

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions agogosml_cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ RUN apk add \


ENV HOME /root
ENV PYENV_ROOT $HOME/.pyenv
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
# ENV PYENV_ROOT $HOME/.pyenv
# ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH

RUN curl https://pyenv.run | bash
#see https://www.loganasherjones.com/2018/03/setting-up-your-python-environment/

RUN pyenv install 3.5.6
RUN pyenv install 3.6.8
RUN pyenv install 3.7.2
# RUN pyenv install 3.5.6
# RUN pyenv install 3.6.8
# RUN pyenv install 3.7.2
RUN pip install pytest tox
RUN pip install tox-globinterpreter

WORKDIR /usr/src/agogosml_cli

RUN echo "3.5.6" >> .python-version
RUN echo "3.6.8" >> .python-version
RUN echo "3.7.2" >> .python-version
# RUN echo "3.5.6" >> .python-version
# RUN echo "3.6.8" >> .python-version
# RUN echo "3.7.2" >> .python-version

COPY requirements-dev.txt .
RUN pip install --no-cache-dir -r requirements-dev.txt
Expand All @@ -55,7 +55,7 @@ COPY . .
RUN make clean && \
make lint && \
make test && \
make test-all && \
# make test-all && \
make docs && \
make dist

Expand Down