Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Commit

Permalink
- Dockerfile cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorunic committed Nov 18, 2014
1 parent 347b813 commit e819f7e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ MAINTAINER Dinko Korunic <dinko.korunic@gmail.com>
RUN apt-get update && apt-get install -y build-essential git-core

# install hybserv2
RUN mkdir -p /root/src
RUN git clone https://github.com/dkorunic/hybserv2.git /root/src/hybserv2
RUN cd /root/src/hybserv2 && ./configure --enable-daemontools && make all install
RUN useradd --system hybserv
RUN chown -Rh hybserv: /usr/local/hybserv

# clean cruft
RUN rm -rf /root/src
RUN apt-get -y purge build-essential git-core fakeroot libfakeroot patch cpp make binutils libc-dev-bin libc6-dev linux-libc-dev manpages
RUN apt-get -y autoremove
RUN mkdir -p /root/src \
&& git clone https://github.com/dkorunic/hybserv2.git /root/src/hybserv2 \
&& cd /root/src/hybserv2 && ./configure --enable-daemontools \
&& make all install \
&& useradd --system hybserv \
&& chown -Rh hybserv: /usr/local/hybserv \
&& rm -rf /root/src \
&& apt-get -y purge build-essential git-core fakeroot libfakeroot patch cpp make binutils libc-dev-bin libc6-dev linux-libc-dev manpages \
&& apt-get -y autoremove \
&& rm -rf /var/lib/apt/lists/*

# add volumes
VOLUME ["/usr/local/hybserv"]
Expand Down

0 comments on commit e819f7e

Please sign in to comment.