diff --git a/Dockerfile b/Dockerfile index 8c811b057..2e7491279 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,17 @@ -FROM python:3.7-alpine AS build +FROM google/cloud-sdk:224.0.0-alpine AS build + +RUN apk add --update py-setuptools py-pip \ + && rm -rf /var/cache/apk/* \ + && pip install wheel WORKDIR /opt/python-gitlab COPY . . RUN python setup.py bdist_wheel -FROM python:3.7-alpine +FROM google/cloud-sdk:224.0.0-alpine + +RUN apk add --update py-setuptools py-pip jq \ + && rm -rf /var/cache/apk/* WORKDIR /opt/python-gitlab COPY --from=build /opt/python-gitlab/dist dist/