-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,31 @@ | ||
FROM arm32v7/ubuntu:18.04 | ||
MAINTAINER Fmstrat <[email protected]> | ||
FROM arm32v7/ubuntu:22.04 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update && apt-get upgrade -y | ||
RUN \ | ||
apt-get update &&\ | ||
apt-get install -y \ | ||
pkg-config \ | ||
attr \ | ||
acl \ | ||
samba \ | ||
smbclient \ | ||
ldap-utils \ | ||
winbind \ | ||
libnss-winbind \ | ||
libpam-winbind \ | ||
krb5-user \ | ||
krb5-kdc \ | ||
supervisor \ | ||
openvpn \ | ||
inetutils-ping \ | ||
ntp &&\ | ||
apt-get clean autoclean &&\ | ||
apt-get autoremove --yes &&\ | ||
rm -rf /var/lib/{apt,dpkg,cache,log}/ &&\ | ||
rm -fr /tmp/* /var/tmp/* | ||
|
||
# Install all apps | ||
# The third line is for multi-site config (ping is for testing later) | ||
RUN apt-get install -y pkg-config | ||
RUN apt-get install -y attr acl samba smbclient ldap-utils winbind libnss-winbind libpam-winbind krb5-user krb5-kdc supervisor | ||
RUN apt-get install -y openvpn inetutils-ping | ||
|
||
# Set up script and run | ||
ADD init.sh /init.sh | ||
RUN chmod 755 /init.sh | ||
ADD domain.sh /domain.sh | ||
RUN chmod 755 /init.sh /domain.sh | ||
CMD /init.sh setup |