Skip to content

Commit

Permalink
build(pip): migrate to pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
gofrolist committed Oct 19, 2021
1 parent e0d20bd commit 64ad314
Show file tree
Hide file tree
Showing 4 changed files with 817 additions and 12 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ ARG BUILD_DEPS="\

RUN apk add --update --no-cache ${BUILD_DEPS}

COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY Pipfile* .
RUN pip install pipenv && \
pipenv install --deploy --system

FROM python:3.9.7-alpine3.14 AS runner
FROM python:3.9.7-alpine3.14 AS runtime

LABEL "maintainer"="Eugene Vasilenko <gmrnsk@gmail.com>"
LABEL "repository"="https://github.com/gofrolist/molecule-action"
Expand Down
16 changes: 16 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
flake8 = "==3.9.2"
molecule-inspec = "==1.1"
molecule = {version = "==3.4.1", extras = ["docker", "podman", "lint"]}
testinfra = "==6.0.0"
yamllint = "==1.26.3"

[dev-packages]

[requires]
python_version = "3.9"
Loading

0 comments on commit 64ad314

Please sign in to comment.