Skip to content

Commit be94669

Browse files
author
Dylan Graham
committed
Install pip and setuptools
1 parent 91c2416 commit be94669

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
FROM google/cloud-sdk:224.0.0-alpine AS build
22

3+
RUN apk add --update py-setuptools py-pip \
4+
&& rm -rf /var/cache/apk/* \
5+
&& pip install wheel
6+
37
WORKDIR /opt/python-gitlab
48
COPY . .
59
RUN python setup.py bdist_wheel
610

711
FROM google/cloud-sdk:224.0.0-alpine
812

13+
RUN apk add --update py-setuptools py-pip \
14+
&& rm -rf /var/cache/apk/*
15+
916
WORKDIR /opt/python-gitlab
1017
COPY --from=build /opt/python-gitlab/dist dist/
1118
RUN pip install $(find dist -name *.whl) && \

0 commit comments

Comments
 (0)