Merge pull request #29 from cmehay/py10
Update dependencies and add support for python 3.9 and 3.10master
commit
d552129309
@ -0,0 +1,22 @@
|
||||
# Testing with python 3.10
|
||||
|
||||
FROM python:3.10
|
||||
|
||||
ENV POETRY_VIRTUALENVS_CREATE=false
|
||||
|
||||
RUN pip install poetry
|
||||
|
||||
RUN adduser --uid 1009 --system testuser
|
||||
RUN addgroup --gid 1010 testgroup
|
||||
|
||||
ENV PYTHONPATH /opt/
|
||||
|
||||
COPY tests/test_template.yml.tpl /tmp/test_template.yml
|
||||
COPY tests/test_template.yml.tpl /tmp/test_template2.yml.tpl
|
||||
COPY pyproject.toml poetry.lock /opt/
|
||||
|
||||
RUN cd /opt && poetry install
|
||||
|
||||
WORKDIR /opt/tests
|
||||
|
||||
CMD ["pytest", "--verbose", "-rw", "."]
|
@ -0,0 +1,22 @@
|
||||
# Testing with python 3.9
|
||||
|
||||
FROM python:3.9
|
||||
|
||||
ENV POETRY_VIRTUALENVS_CREATE=false
|
||||
|
||||
RUN pip install poetry
|
||||
|
||||
RUN adduser --uid 1009 --system testuser
|
||||
RUN addgroup --gid 1010 testgroup
|
||||
|
||||
ENV PYTHONPATH /opt/
|
||||
|
||||
COPY tests/test_template.yml.tpl /tmp/test_template.yml
|
||||
COPY tests/test_template.yml.tpl /tmp/test_template2.yml.tpl
|
||||
COPY pyproject.toml poetry.lock /opt/
|
||||
|
||||
RUN cd /opt && poetry install
|
||||
|
||||
WORKDIR /opt/tests
|
||||
|
||||
CMD ["pytest", "--verbose", "-rw", "."]
|
@ -0,0 +1,13 @@
|
||||
FROM python:3.10
|
||||
|
||||
ENV POETRY_VIRTUALENVS_CREATE=false
|
||||
|
||||
ADD . /usr/local/src/
|
||||
|
||||
RUN cd /usr/local/src/ && \
|
||||
pip install --upgrade pip poetry && \
|
||||
poetry install --no-dev
|
||||
|
||||
ONBUILD ADD entrypoint-config.yml .
|
||||
|
||||
ENTRYPOINT ["pyentrypoint"]
|
@ -0,0 +1,14 @@
|
||||
FROM python:3.10-alpine
|
||||
|
||||
ENV POETRY_VIRTUALENVS_CREATE=false
|
||||
|
||||
ADD . /usr/local/src/
|
||||
|
||||
RUN cd /usr/local/src/ && \
|
||||
apk add gcc && \
|
||||
pip install --upgrade pip poetry && \
|
||||
poetry install --no-dev
|
||||
|
||||
ONBUILD ADD entrypoint-config.yml .
|
||||
|
||||
ENTRYPOINT ["pyentrypoint"]
|
@ -0,0 +1,13 @@
|
||||
FROM python:3.9
|
||||
|
||||
ENV POETRY_VIRTUALENVS_CREATE=false
|
||||
|
||||
ADD . /usr/local/src/
|
||||
|
||||
RUN cd /usr/local/src/ && \
|
||||
pip install --upgrade pip poetry && \
|
||||
poetry install --no-dev
|
||||
|
||||
ONBUILD ADD entrypoint-config.yml .
|
||||
|
||||
ENTRYPOINT ["pyentrypoint"]
|
@ -0,0 +1,14 @@
|
||||
FROM python:3.9-alpine
|
||||
|
||||
ENV POETRY_VIRTUALENVS_CREATE=false
|
||||
|
||||
ADD . /usr/local/src/
|
||||
|
||||
RUN cd /usr/local/src/ && \
|
||||
apk add gcc && \
|
||||
pip install --upgrade pip poetry && \
|
||||
poetry install --no-dev
|
||||
|
||||
ONBUILD ADD entrypoint-config.yml .
|
||||
|
||||
ENTRYPOINT ["pyentrypoint"]
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue