mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
22 lines
520 B
Docker
22 lines
520 B
Docker
FROM registry.fedoraproject.org/fedora:latest
|
|
|
|
RUN dnf install -y gcc git make 'dnf-command(builddep)'
|
|
RUN dnf builddep -y ostree
|
|
|
|
ARG OSTREE_REPO
|
|
ARG OSTREE_VERSION
|
|
RUN mkdir /src && \
|
|
cd /src && \
|
|
git init . && \
|
|
git fetch --depth 1 $OSTREE_REPO $OSTREE_VERSION && \
|
|
git checkout FETCH_HEAD && \
|
|
git submodule update --init
|
|
RUN mkdir /build && \
|
|
cd /build && \
|
|
NOCONFIGURE=1 /src/autogen.sh && \
|
|
/src/configure \
|
|
--with-openssl \
|
|
--with-curl \
|
|
&& \
|
|
make -j4
|