Compare commits
No commits in common. "2019a6786744574036199345f83efabf37b17b69" and "c074a8f3a4de15433d23ba69bc00bcea27c2115f" have entirely different histories.
2019a67867
...
c074a8f3a4
@ -21,17 +21,10 @@ FROM debian:stable-slim
|
|||||||
|
|
||||||
RUN apt-get -qy update && apt-get -qy upgrade
|
RUN apt-get -qy update && apt-get -qy upgrade
|
||||||
RUN apt-get -qy install git libssl3 bash perl libglib2.0 swig libtirpc3 libreadline8 \
|
RUN apt-get -qy install git libssl3 bash perl libglib2.0 swig libtirpc3 libreadline8 \
|
||||||
libxslt1.1 libxml-simple-perl libjson-perl openbsd-inetd
|
libxslt1.1 libxml-simple-perl libjson-perl
|
||||||
|
|
||||||
RUN apt-get -qy install tini
|
|
||||||
|
|
||||||
COPY --from=builder /usr/local/ /usr/local/
|
COPY --from=builder /usr/local/ /usr/local/
|
||||||
COPY inetd.conf /etc/inetd.conf
|
|
||||||
COPY scripts/entryPoint.sh /entryPoint.sh
|
|
||||||
RUN chmod +x /entryPoint.sh
|
|
||||||
|
|
||||||
ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/
|
ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/
|
||||||
|
|
||||||
USER backup
|
USER backup
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--", "/entryPoint.sh"]
|
|
@ -1 +0,0 @@
|
|||||||
amanda stream tcp nowait backup /usr/local/libexec/amanda/amandad amandad -auth=ssl amdump
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
inetd -d /etc/inetd.conf
|
|
@ -1,23 +0,0 @@
|
|||||||
FROM debian:stable-slim as kabo-builder
|
|
||||||
|
|
||||||
RUN apt-get -qy update && apt-get -qy upgrade
|
|
||||||
RUN apt-get -qy install git gcc libc6-dev liblwp-protocol-https-perl make patch
|
|
||||||
|
|
||||||
RUN mkdir /var/www && chown www-data /var/www
|
|
||||||
|
|
||||||
USER www-data
|
|
||||||
|
|
||||||
RUN git clone https://github.com/tokuhirom/plenv.git ~/.plenv
|
|
||||||
RUN git clone https://github.com/tokuhirom/Perl-Build.git ~/.plenv/plugins/perl-build/
|
|
||||||
|
|
||||||
RUN export PATH="$HOME/.plenv/bin:$PATH" && eval "$(plenv init -)"
|
|
||||||
RUN export PATH="$HOME/.plenv/bin:$PATH" && plenv install 5.40.0
|
|
||||||
|
|
||||||
|
|
||||||
FROM debian:stable-slim
|
|
||||||
|
|
||||||
USER www-data
|
|
||||||
|
|
||||||
|
|
||||||
COPY --from=kabo-builder $HOME/.plenv/ $HOME/.plenv/
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user