Compare commits
2 Commits
c074a8f3a4
...
2019a67867
Author | SHA1 | Date | |
---|---|---|---|
2019a67867 | |||
28132db6fc |
@ -21,10 +21,17 @@ 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
|
libxslt1.1 libxml-simple-perl libjson-perl openbsd-inetd
|
||||||
|
|
||||||
|
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
client/inetd.conf
Normal file
1
client/inetd.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
amanda stream tcp nowait backup /usr/local/libexec/amanda/amandad amandad -auth=ssl amdump
|
3
client/scripts/entryPoint.sh
Executable file
3
client/scripts/entryPoint.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
inetd -d /etc/inetd.conf
|
23
operator/Containerfile
Normal file
23
operator/Containerfile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
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