forked from niess/linuxdeploy-plugin-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (18 loc) · 864 Bytes
/
Dockerfile
File metadata and controls
24 lines (18 loc) · 864 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
FROM quay.io/pypa/manylinux2010_x86_64
LABEL maintainer="https://github.com/niess"
ARG Arch=x86_64
ENV ARCH="${Arch}" \
OPENSSL="1.1.1c"
RUN yum -y install bzip2-devel fuse-sshfs gdbm-devel ncurses-devel \
readline-devel sqlite-devel openssl-devel symlinks tk-devel \
xz-devel wget
COPY . /work/.travis
WORKDIR /work
SHELL ["/bin/bash", "-c"]
ENV OPENSSL_DIR="${HOME}/openssl/${OPENSSL}"
RUN ./.travis/install.sh
ENV PATH="${OPENSSL_DIR}/bin:${PATH}" \
CFLAGS="${CFLAGS} -I${OPENSSL_DIR}/include" \
LDFLAGS="-L${OPENSSL_DIR}/lib" \
LD_LIBRARY_PATH="${OPENSSL_DIR}/lib:${LD_LIBRARY_PATH}"
CMD ["./.travis/script.sh"]