mirror of
https://github.com/simon987/general_ci.git
synced 2025-04-19 01:36:42 +00:00
.
This commit is contained in:
parent
90f8502bbf
commit
5184189fa2
@ -2,5 +2,5 @@ FROM alpine
|
|||||||
|
|
||||||
RUN apk update && apk add --no-cache binutils cmake make libgcc \
|
RUN apk update && apk add --no-cache binutils cmake make libgcc \
|
||||||
musl-dev gcc libarchive-static libarchive-dev acl-static xz-dev lz4-static \
|
musl-dev gcc libarchive-static libarchive-dev acl-static xz-dev lz4-static \
|
||||||
zstd-static zlib-static openssl-libs-static
|
zstd-static zlib-static openssl-libs-static bzip2-static bzip2-dev expat-static
|
||||||
|
|
||||||
|
18
ubuntu18_ci/Dockerfile
Normal file
18
ubuntu18_ci/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
|
MAINTAINER simon987 <me@simon987.net>
|
||||||
|
|
||||||
|
RUN apt update
|
||||||
|
RUN apt install -y git pkg-config libglib2.0-dev\
|
||||||
|
libssl-dev uuid-dev python3 libmagic-dev \
|
||||||
|
libfreetype6-dev libcurl4-gnutls-dev \
|
||||||
|
libbz2-dev yasm libharfbuzz-dev ragel libarchive-dev \
|
||||||
|
automake autotools-dev libopenjp2-7-dev wget libtool \
|
||||||
|
libxml2-dev python3 python3-dev libtiff-dev \
|
||||||
|
libpango1.0-dev libasan4 && apt clean
|
||||||
|
|
||||||
|
RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2.tar.gz && \
|
||||||
|
tar -xzf cmake-*.tar.gz && cd cmake-* && ./bootstrap && make -j 4 && make install
|
||||||
|
RUN git clone "https://github.com/danbloomberg/leptonica" && mkdir leptonica/build && cd leptonica/build && cmake -DCMAKE_C_FLAGS="-fPIC" .. && make -j 4 && make install && rm -rf /cmake-* /leptonica
|
||||||
|
|
||||||
|
RUN git clone "https://github.com/glennrp/libpng" && cd libpng && CFLAGS="-fPIC" ./configure --enable-static && make -j 4 && make install
|
@ -5,13 +5,17 @@ MAINTAINER simon987 <me@simon987.net>
|
|||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install -y git pkg-config libglib2.0-dev\
|
RUN apt install -y git pkg-config libglib2.0-dev\
|
||||||
libssl-dev uuid-dev python3 libmagic-dev \
|
libssl-dev uuid-dev python3 libmagic-dev \
|
||||||
libfreetype6-dev libcurl4-openssl-dev \
|
libfreetype6-dev libcurl4-gnutls-dev \
|
||||||
libbz2-dev yasm libharfbuzz-dev ragel libarchive-dev \
|
libbz2-dev yasm libharfbuzz-dev ragel libarchive-dev \
|
||||||
automake autotools-dev libopenjp2-7-dev wget libtool \
|
automake autotools-dev libopenjp2-7-dev wget libtool \
|
||||||
libxml2-dev python3 python3-dev
|
libxml2-dev python3 python3-dev libtiff-dev \
|
||||||
|
libpango1.0-dev && apt clean
|
||||||
|
|
||||||
RUN wget https://github.com/gohugoio/hugo/releases/download/v0.62.1/hugo_0.62.1_Linux-64bit.deb &&\
|
RUN wget https://github.com/gohugoio/hugo/releases/download/v0.62.1/hugo_0.62.1_Linux-64bit.deb &&\
|
||||||
dpkg -i hugo*.deb && rm hugo*.deb
|
dpkg -i hugo*.deb && rm hugo*.deb
|
||||||
|
|
||||||
RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2.tar.gz && \
|
RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2.tar.gz && \
|
||||||
tar -xzf cmake-*.tar.gz && cd cmake-* && ./bootstrap && make -j 4 && make install
|
tar -xzf cmake-*.tar.gz && cd cmake-* && ./bootstrap && make -j 4 && make install
|
||||||
|
RUN git clone "https://github.com/danbloomberg/leptonica" && mkdir leptonica/build && cd leptonica/build && cmake -DCMAKE_C_FLAGS="-fPIC" .. && make -j 4 && make install && rm -rf cmake-* leptonica
|
||||||
|
|
||||||
|
RUN git clone "https://github.com/glennrp/libpng" && cd libpng && CFLAGS="-fPIC" ./configure --enable-static && make -j 4 && make install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user