Dockerfile done
This commit is contained in:
commit
8cf9d37916
25
Dockerfile
Normal file
25
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user