Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dockerfile for Ubuntu 2024.04 is updated#211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 4 additions & 15 deletionsDockerfile--ubuntu-24_04.tmpl
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,33 +37,22 @@ RUN ssh-keygen -A
RUN sh -c "echo postgres ALL=NOPASSWD:/usr/sbin/service ssh start" >> /etc/sudoers

USER postgres

ENV LANG=C.UTF-8

RUN chmod 700 ~/
RUN mkdir -p ~/.ssh

#ENTRYPOINT PYTHON_VERSION=3.12 /run.sh
ENTRYPOINT sh -c " \
#set -eux; \
echo HELLO FROM ENTRYPOINT; \
echo HOME DIR IS [`realpath ~/`]; \
echo POINT 1; \
chmod go-w /var/lib/postgresql; \
echo POINT 1.5; \
mkdir -p ~/.ssh; \
echo POINT 2; \
service ssh enable; \
echo POINT 3; \
sudo service ssh start; \
echo POINT 4; \
ssh-keyscan -H localhost >> ~/.ssh/known_hosts; \
echo POINT 5; \
ssh-keyscan -H 127.0.0.1 >> ~/.ssh/known_hosts; \
echo POINT 6; \
ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''; \
echo ----; \
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys; \
echo ----; \
chmod 600 ~/.ssh/authorized_keys; \
echo ----; \
ls -la ~/.ssh/; \
echo ----; \
TEST_FILTER="" PYTHON_VERSION=${PYTHON_VERSION} bash run_tests.sh;"
TEST_FILTER=\"\" PYTHON_VERSION=${PYTHON_VERSION} bash run_tests.sh;"

[8]ページ先頭

©2009-2025 Movatter.jp