mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
cleanup
This commit is contained in:
parent
1d46ef96ec
commit
2c74ac96bb
|
@ -11,15 +11,17 @@ RUN apt-get update && apt-get install -y \
|
|||
--no-install-recommends
|
||||
|
||||
# get the source
|
||||
RUN mkdir /znc-tmp
|
||||
RUN curl -sSL http://znc.in/releases/znc-latest.tar.gz | tar -v -C /znc-tmp -xz
|
||||
RUN mv /znc-tmp/znc* /znc; rm -rf /znc-tmp
|
||||
RUN mkdir /znc-tmp && \
|
||||
curl -sSL http://znc.in/releases/znc-latest.tar.gz | tar -v -C /znc-tmp -xz && \
|
||||
mv /znc-tmp/znc* /znc; rm -rf /znc-tmp && \
|
||||
cd /znc && \
|
||||
./configure && \
|
||||
make -j8 && \
|
||||
make install && \
|
||||
rm -rf /znc && \
|
||||
mkdir /znc
|
||||
|
||||
# install it
|
||||
RUN cd /znc; ./configure; make -j8; make install
|
||||
RUN rm -rf /znc
|
||||
RUN mkdir /znc
|
||||
ADD znc-shim /usr/local/bin/znc-shim
|
||||
COPY ./znc-shim /usr/local/bin/znc-shim
|
||||
|
||||
RUN adduser \
|
||||
--system \
|
||||
|
@ -31,11 +33,3 @@ RUN adduser \
|
|||
|
||||
WORKDIR /znc
|
||||
ENTRYPOINT ["/usr/local/bin/znc-shim"]
|
||||
|
||||
# make basic config
|
||||
# RUN znc --makeconf
|
||||
|
||||
# add local config
|
||||
# ADD conf /.znc
|
||||
|
||||
# CMD [ "znc", "-f", "-r" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user