Skip to content

Commit 901bf24

Browse files
committed
Add Dockerfile, merge in JoeDog#42
1 parent 600af6a commit 901bf24

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM alpine:3.5
2+
3+
ENV SIEGE_VERSION v4.0.3rc3
4+
5+
RUN apk add --no-cache --virtual .build-dep \
6+
autoconf \
7+
automake \
8+
curl \
9+
file \
10+
gcc \
11+
libc-dev \
12+
libtool \
13+
make \
14+
perl \
15+
&& curl -fSL https://github.com/JoeDog/siege/archive/$SIEGE_VERSION.tar.gz -o siege.tar.gz \
16+
&& mkdir -p /usr/src \
17+
&& tar -zxC /usr/src -f siege.tar.gz \
18+
&& rm siege.tar.gz \
19+
&& cd /usr/src/siege-${SIEGE_VERSION:1} \
20+
&& utils/bootstrap \
21+
&& ./configure \
22+
&& make \
23+
&& make install \
24+
&& rm -rf /usr/src/siege-$SIEGE_VERSION \
25+
&& apk del .build-deps
26+
27+
ENTRYPOINT ["siege"]
28+
CMD ["--help"]
29+

0 commit comments

Comments
 (0)