mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 01:36:33 +03:00
Fixing git error
This commit is contained in:
parent
6a21158a62
commit
6d9edbf95d
|
@ -33,6 +33,13 @@ RUN apt-get update && \
|
||||||
apt-get purge -y --auto-remove -o APT:AutoRemove:RecommendsImportant=false && \
|
apt-get purge -y --auto-remove -o APT:AutoRemove:RecommendsImportant=false && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Make ssh dir
|
||||||
|
RUN mkdir -p /root/.ssh/
|
||||||
|
|
||||||
|
# Create known_hosts and add github to it
|
||||||
|
RUN touch /root/.ssh/known_hosts
|
||||||
|
RUN ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts
|
||||||
|
|
||||||
RUN pip install "poetry==$POETRY_VERSION"
|
RUN pip install "poetry==$POETRY_VERSION"
|
||||||
RUN python -m venv /venv
|
RUN python -m venv /venv
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user