-
Notifications
You must be signed in to change notification settings - Fork 193
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (24 loc) · 814 Bytes
/
Dockerfile
File metadata and controls
28 lines (24 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Install Python build prerequisites
ARG OS_FLAVOR
FROM mcr.microsoft.com/mirror/docker/library/buildpack-deps:${OS_FLAVOR}
ARG OS_FLAVOR
ENV OS_FLAVOR=$OS_FLAVOR
ARG VERSIONS_TO_BUILD_OVERRIDE=""
ENV VERSIONS_TO_BUILD_OVERRIDE=$VERSIONS_TO_BUILD_OVERRIDE
# COPY build/__pythonVersions.sh /tmp/
COPY platforms/python/prereqs/build.sh /tmp/
COPY images/receiveGpgKeys.sh /tmp/receiveGpgKeys.sh
RUN chmod +x /tmp/receiveGpgKeys.sh
RUN chmod +x /tmp/build.sh && \
apt-get update && \
OS_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
tk-dev \
uuid-dev \
libgeos-dev
COPY platforms /tmp/platforms
COPY build /tmp/build
RUN chmod +x /tmp/platforms/**/*.sh
RUN chmod +x /tmp/build/**/*.sh
RUN mkdir /tmp/sdk
RUN /tmp/platforms/python/buildPython.sh ${OS_FLAVOR} ""