Skip to content

Commit

Permalink
fixed docker build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Sep 25, 2024
1 parent c971bc0 commit cbbbcb5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,27 @@ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /

# Set-up necessary Env vars for PyEnv

ENV PYENV_ROOT="/pyent-root"
ENV PYENV_ROOT="/pyenv-root"
ENV PATH=$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
# Install pyenv
RUN set -ex && \
curl https://pyenv.run | bash && \
eval "$(pyenv init -)" && \
pyenv update && \
pyenv install ${PYTHON_VERSION} && \
pyenv virtualenv ${PYTHON_VERSION} venv && \
pyenv global venv && \
pyenv global ${PYTHON_VERSION} && \
pyenv rehash && \
python --version
RUN chmod 777 /pyent-root
RUN chmod 777 /pyenv-root

# cloning and installing ooil
RUN git clone -n ${REPO_NAME} ${CLONE_DIR} && \
cd ${CLONE_DIR} && \
git checkout -B ${BRANCH_NAME} ${COMMIT_SHA} && \
# install ooil and requirements
cd ${CLONE_DIR}/packages/service-integration && \
pip install uv && \
uv pip sync requirements/prod.txt && \
pip install --upgrade pip uv && \
uv pip sync --system requirements/prod.txt && \
pip install --no-cache-dir . && \
cd / && \
# remove source directory
Expand Down

0 comments on commit cbbbcb5

Please sign in to comment.