From b18352de358dfa38a284cfff2b51b73374ca8cfe Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 7 Jan 2020 09:57:59 -0500 Subject: [PATCH] Add alpine --- Dockerfile | 10 ---------- alpine_ci/Dockerfile | 5 +++++ ubuntu_ci/Dockerfile | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 10 deletions(-) delete mode 100644 Dockerfile create mode 100644 alpine_ci/Dockerfile create mode 100644 ubuntu_ci/Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index af6abe8..0000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM ubuntu:16.04 - -MAINTAINER simon987 - -RUN apt update -RUN apt install -y git cmake pkg-config libglib2.0-dev\ - libssl-dev uuid-dev libavformat-dev libswscale-dev \ - python3 libmagic-dev libfreetype6-dev libcurl4-openssl-dev \ - libbz2-dev yasm libharfbuzz-dev ragel libarchive-dev\ - automake autotools-dev diff --git a/alpine_ci/Dockerfile b/alpine_ci/Dockerfile new file mode 100644 index 0000000..dbe2b59 --- /dev/null +++ b/alpine_ci/Dockerfile @@ -0,0 +1,5 @@ +FROM alpine + +RUN apk update && apk add --no-cache binutils cmake make libgcc \ + musl-dev gcc libarchive-dev acl-dev + diff --git a/ubuntu_ci/Dockerfile b/ubuntu_ci/Dockerfile new file mode 100644 index 0000000..55b9943 --- /dev/null +++ b/ubuntu_ci/Dockerfile @@ -0,0 +1,17 @@ +FROM ubuntu:16.04 + +MAINTAINER simon987 + +RUN apt update +RUN apt install -y git pkg-config libglib2.0-dev\ + libssl-dev uuid-dev python3 libmagic-dev \ + libfreetype6-dev libcurl4-openssl-dev \ + libbz2-dev yasm libharfbuzz-dev ragel libarchive-dev \ + automake autotools-dev libopenjp2-7-dev wget libtool \ + libxml2-dev python3 python3-dev + +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 + +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