fix
This commit is contained in:
@@ -18,9 +18,10 @@ RUN apt-get update && \
|
|||||||
sudo \
|
sudo \
|
||||||
&& \
|
&& \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
printf "\npostgres ALL = (ALL) NOPASSWD:ALL\n" >> /etc/sudoers && \
|
echo "postgres ALL = (ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||||
printf "\nX11Forwarding no\nPasswordAuthentication no\n" >> /etc/ssh/sshd_config && \
|
echo "X11Forwarding no" >> /etc/ssh/sshd_config && \
|
||||||
printf "\nStrictHostKeyChecking no\n" >> /etc/ssh/ssh_config
|
echo "PasswordAuthentication no" >> /etc/ssh/sshd_config && \
|
||||||
|
echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
|
||||||
|
|
||||||
COPY --chown=postgres:postgres postgres /var/lib/postgresql/
|
COPY --chown=postgres:postgres postgres /var/lib/postgresql/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user