mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +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
|
--no-install-recommends
|
||||||
|
|
||||||
# get the source
|
# get the source
|
||||||
RUN mkdir /znc-tmp
|
RUN mkdir /znc-tmp && \
|
||||||
RUN curl -sSL http://znc.in/releases/znc-latest.tar.gz | tar -v -C /znc-tmp -xz
|
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
|
mv /znc-tmp/znc* /znc; rm -rf /znc-tmp && \
|
||||||
|
cd /znc && \
|
||||||
|
./configure && \
|
||||||
|
make -j8 && \
|
||||||
|
make install && \
|
||||||
|
rm -rf /znc && \
|
||||||
|
mkdir /znc
|
||||||
|
|
||||||
# install it
|
COPY ./znc-shim /usr/local/bin/znc-shim
|
||||||
RUN cd /znc; ./configure; make -j8; make install
|
|
||||||
RUN rm -rf /znc
|
|
||||||
RUN mkdir /znc
|
|
||||||
ADD znc-shim /usr/local/bin/znc-shim
|
|
||||||
|
|
||||||
RUN adduser \
|
RUN adduser \
|
||||||
--system \
|
--system \
|
||||||
|
@ -31,11 +33,3 @@ RUN adduser \
|
||||||
|
|
||||||
WORKDIR /znc
|
WORKDIR /znc
|
||||||
ENTRYPOINT ["/usr/local/bin/znc-shim"]
|
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