forked from Lednerb/opentracker-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (24 loc) · 679 Bytes
/
Dockerfile
File metadata and controls
31 lines (24 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM alpine:latest
LABEL maintainer="FoRTu" \
maintainer.website="https://github.com/FoRTu"
RUN apk add --no-cache \
gcc \
g++ \
make \
git \
zlib-dev
WORKDIR /tmp
RUN wget http://www.fefe.de/libowfat/libowfat-0.32.tar.xz \
&& mkdir /tmp/libowfat \
&& tar -xf libowfat-0.32.tar.xz -C /tmp/libowfat --strip-components=1 \
&& cd /tmp/libowfat \
&& make \
&& cd /tmp \
&& git clone git://erdgeist.org/opentracker
COPY Makefile /tmp/opentracker/Makefile
RUN cd /tmp/opentracker \
&& make \
&& cp /tmp/opentracker/opentracker.debug /bin/opentracker \
&& apk del gcc g++ make git zlib-dev \
&& rm -rf /var/cache/apk/* /tmp/*
CMD opentracker -f /etc/opentracker/opentracker.conf