fix
This commit is contained in:
@@ -21,6 +21,7 @@ RUN apt-get update && \
|
|||||||
printf "\npostgres ALL = (ALL) NOPASSWD:ALL\n" >> /etc/sudoers && \
|
printf "\npostgres ALL = (ALL) NOPASSWD:ALL\n" >> /etc/sudoers && \
|
||||||
printf "\nX11Forwarding no\nPasswordAuthentication no\n" >> /etc/ssh/sshd_config && \
|
printf "\nX11Forwarding no\nPasswordAuthentication no\n" >> /etc/ssh/sshd_config && \
|
||||||
printf "\nStrictHostKeyChecking no\n" >> /etc/ssh/ssh_config
|
printf "\nStrictHostKeyChecking no\n" >> /etc/ssh/ssh_config
|
||||||
|
|
||||||
COPY --chown=postgres:postgres postgres /var/lib/postgresql/
|
COPY --chown=postgres:postgres postgres /var/lib/postgresql/
|
||||||
|
|
||||||
COPY --chmod=755 entrypoint.sh /usr/local/bin/
|
COPY --chmod=755 entrypoint.sh /usr/local/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user