1 Star 0 Fork 0

Ice/sharp-libvips

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
FROM centos:7
LABEL maintainer="Lovell Fuller <npm@lovell.info>"
# Create CentOS 7 (glibc 2.17) container suitable for building Linux x64 binaries
# Path settings
ENV \
RUSTUP_HOME="/usr/local/rustup" \
CARGO_HOME="/usr/local/cargo" \
PATH="/usr/local/cargo/bin:/opt/rh/devtoolset-9/root/usr/bin:$PATH"
# Build dependencies
RUN \
yum update -y && \
yum install -y epel-release centos-release-scl && \
yum group install -y "Development Tools" && \
yum install -y --setopt=tsflags=nodocs \
advancecomp \
brotli \
cmake3 \
devtoolset-9-gcc \
devtoolset-9-gcc-c++ \
glib2-devel \
gobject-introspection-devel \
gperf \
gtk-doc \
jq \
nasm \
ninja-build \
prelink \
python3 \
&& \
curl https://sh.rustup.rs -sSf | sh -s -- -y \
--no-modify-path \
--profile minimal \
&& \
ln -s /usr/bin/cmake3 /usr/bin/cmake && \
pip3 install meson==0.55.3
# Compiler settings
ENV \
PLATFORM="linux-x64" \
FLAGS="-O3 -fPIC" \
MESON="--cross-file=/root/meson.ini"
COPY Toolchain.cmake /root/
COPY meson.ini /root/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nymondo/sharp-libvips.git
git@gitee.com:nymondo/sharp-libvips.git
nymondo
sharp-libvips
sharp-libvips
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385