Skip to content

Commit

Permalink
改用github保存的libowfat老版本源码
Browse files Browse the repository at this point in the history
  • Loading branch information
ryjer committed Sep 17, 2023
1 parent a19cbfa commit ff8797b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@ FROM alpine:3.15.10 as build
WORKDIR /src
RUN apk add gcc g++ make \
sed \
git \
zlib-dev libowfat-dev
git wget tar \
zlib-dev

RUN wget https://github.com/ryjer/libowfat/archive/refs/tags/v0.32.tar.gz \
&& mv v0.32.tar.gz libowfat.tar.gz \
&& tar -zxvf libowfat.tar.gz \
&& cd libowfat \
&& make

RUN git clone git://erdgeist.org/opentracker \
&& cd opentracker \
&& sed -e "s/^LIBOWFAT_HEADERS=\$(PREFIX)\/libowfat/LIBOWFAT_HEADERS=\/usr\/include\/libowfat/" -e "s/^LIBOWFAT_LIBRARY=\$(PREFIX)\/libowfat/LIBOWFAT_LIBRARY=\/usr\/lib/" Makefile -i \
&& make clean && make
&& make


FROM alpine:3.15.10
Expand Down

0 comments on commit ff8797b

Please sign in to comment.