File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -37,33 +37,22 @@ RUN ssh-keygen -A
3737RUN sh -c "echo postgres ALL=NOPASSWD:/usr/sbin/service ssh start" >> /etc/sudoers
3838
3939USER postgres
40-
4140ENV LANG=C.UTF-8
4241
42+ RUN chmod 700 ~/
43+ RUN mkdir -p ~/.ssh
44+
4345#ENTRYPOINT PYTHON_VERSION=3.12 /run.sh
4446ENTRYPOINT sh -c " \
4547#set -eux; \
4648echo HELLO FROM ENTRYPOINT; \
4749echo HOME DIR IS [`realpath ~/`]; \
48- echo POINT 1; \
49- chmod go-w /var/lib/postgresql; \
50- echo POINT 1.5; \
51- mkdir -p ~/.ssh; \
52- echo POINT 2; \
5350service ssh enable; \
54- echo POINT 3; \
5551sudo service ssh start; \
56- echo POINT 4; \
5752ssh-keyscan -H localhost >> ~/.ssh/known_hosts; \
58- echo POINT 5; \
5953ssh-keyscan -H 127.0.0.1 >> ~/.ssh/known_hosts; \
60- echo POINT 6; \
6154ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''; \
62- echo ----; \
6355cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys; \
64- echo ----; \
6556chmod 600 ~/.ssh/authorized_keys; \
66- echo ----; \
6757ls -la ~/.ssh/; \
68- echo ----; \
69- TEST_FILTER="" PYTHON_VERSION=${PYTHON_VERSION} bash run_tests.sh;"
58+ TEST_FILTER=\"\" PYTHON_VERSION=${PYTHON_VERSION} bash run_tests.sh;"
You can’t perform that action at this time.
0 commit comments