Dockerfile done

This commit is contained in:
nemunaire 2021-03-02 00:45:05 +01:00
commit 8cf9d37916
1 changed files with 25 additions and 0 deletions

25
Dockerfile Normal file
View File

@ -0,0 +1,25 @@
FROM alpine as build
RUN apk add --no-cache \
gcc \
g++ \
make \
git \
cvs \
zlib-dev
RUN cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat \
&& cd libowfat \
&& make
RUN git clone git://erdgeist.org/opentracker \
&& cd opentracker \
&& make
FROM alpine
COPY --from=build opentracker/opentracker /usr/bin/opentracker
EXPOSE 6969
CMD ["opentracker", "-f", "/etc/opentracker/opentracker.conf"]