mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Merge 8571a11674
into 31c5dc41fc
This commit is contained in:
commit
2b830952ef
2 changed files with 22 additions and 0 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
@ -0,0 +1 @@
|
|||
.git
|
21
Dockerfile
Normal file
21
Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM debian:wheezy
|
||||
MAINTAINER kload "kload@kload.fr"
|
||||
|
||||
RUN rm /usr/sbin/policy-rc.d
|
||||
RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get update
|
||||
RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install apt-utils -qq -y --force-yes
|
||||
RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install git -qq -y --force-yes
|
||||
RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install bind9 -qq -y --force-yes
|
||||
RUN rm /var/lib/dpkg/info/bind9*
|
||||
RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -f
|
||||
ADD . /tmp/install_script
|
||||
|
||||
RUN cd /tmp/install_script && LC_ALL=C DEBIAN_FRONTEND=noninteractive ./autoinstall_yunohostv2 test || :
|
||||
RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install ssh -qq -y --force-yes
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get clean
|
||||
|
||||
RUN service slapd start && yunohost tools postinstall -d mydomain.com -p changeme
|
||||
|
||||
EXPOSE 22 25 53/udp 443 465 993 5222 5269 5290
|
||||
CMD /sbin/init
|
Loading…
Add table
Reference in a new issue