Skip to content

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all 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 deletions Dockerfile--ubuntu-24_04.tmpl
Original file line number Diff line number Diff 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;"
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy