There was an error while loading. Please reload this page.
1 parent 91c2416 commit be94669Copy full SHA for be94669
1 file changed
Dockerfile
@@ -1,11 +1,18 @@
1
FROM google/cloud-sdk:224.0.0-alpine AS build
2
3
+RUN apk add --update py-setuptools py-pip \
4
+ && rm -rf /var/cache/apk/* \
5
+ && pip install wheel
6
+
7
WORKDIR /opt/python-gitlab
8
COPY . .
9
RUN python setup.py bdist_wheel
10
11
FROM google/cloud-sdk:224.0.0-alpine
12
13
14
+ && rm -rf /var/cache/apk/*
15
16
17
COPY --from=build /opt/python-gitlab/dist dist/
18
RUN pip install $(find dist -name *.whl) && \
0 commit comments