Change lamp's home dir
This commit is contained in:
parent
49974b3f1e
commit
544a712624
@ -12,7 +12,7 @@ ENV SSH_KEY_PATH=/etc/ssh/keys
|
||||
RUN apk add --no-cache bash git unzip openssh
|
||||
RUN sed -i -e "s:#HostKey\ /etc/ssh:HostKey ${SSH_KEY_PATH}:" /etc/ssh/sshd_config
|
||||
|
||||
RUN adduser -g "Hosting Admin User" -u 1000 -G www-data -h /var/www/html -HD lamp
|
||||
RUN adduser -g "Hosting Admin User" -u 1000 -G www-data -h /home/lamp -HD lamp
|
||||
|
||||
# DB Clients
|
||||
RUN apk add --no-cache mariadb-client postgresql-client
|
||||
@ -20,7 +20,7 @@ RUN apk add --no-cache mariadb-client postgresql-client
|
||||
COPY init /sbin/
|
||||
|
||||
|
||||
VOLUME [ "/etc/ssh/keys" ]
|
||||
VOLUME [ "/etc/ssh/keys","/home/lamp" ]
|
||||
EXPOSE 22
|
||||
|
||||
# Starting
|
||||
|
Loading…
Reference in New Issue
Block a user