Dockerfile done
This commit is contained in:
commit
8cf9d37916
1 changed files with 25 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue