mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-20 10:27:02 +00:00
speed up bats docker build
This commit is contained in:
parent
f3ce7e6b8b
commit
ef3e1374ad
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
FROM python:3.9.7-alpine3.14
|
FROM python:3.9.7-alpine3.14
|
||||||
RUN apk --no-cache add bats
|
RUN apk --no-cache add bats
|
||||||
COPY acceptance.bats openapi2jsonschema.py requirements.txt /code/
|
COPY requirements.txt /code/
|
||||||
|
RUN pip install -r /code/requirements.txt
|
||||||
COPY fixtures /code/fixtures
|
COPY fixtures /code/fixtures
|
||||||
|
COPY acceptance.bats openapi2jsonschema.py /code/
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
RUN pip install -r requirements.txt
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue