Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit 17f60ac

Browse files
committed
remove separate rust build
1 parent da1fca4 commit 17f60ac

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: Dockerfile

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
FROM python:3.8-alpine3.13 as BACKEND
22

33
RUN apk add --update \
4-
&& apk add --no-cache build-base curl-dev linux-headers bash git\
5-
&& apk add --no-cache libressl-dev libffi-dev\
4+
&& apk add --no-cache build-base curl-dev linux-headers bash git \
5+
&& apk add --no-cache libressl-dev libffi-dev rust cargo \
66
&& rm -rf /var/cache/apk/*
77

88
COPY requirements.txt /root/swift_upload_runner/requirements.txt
99
COPY setup.py /root/swift_upload_runner/setup.py
1010
COPY swift_upload_runner /root/swift_upload_runner/swift_upload_runner
1111

12-
RUN apk add --no-cache rust cargo \
13-
&& rm -rf /var/cache/apk/*
14-
1512
RUN pip install --upgrade pip\
1613
&& pip install -r /root/swift_upload_runner/requirements.txt \
1714
&& pip install /root/swift_upload_runner

0 commit comments

Comments
 (0)