Skip to content
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

[backend] pin pip to 24.0 #1132

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion zubhub_backend/compose/celery/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ WORKDIR /celery
# copying neccessary files to work directory
COPY ./compose/celery/requirements.txt /celery/

RUN pip install --upgrade pip wheel \
RUN pip install --upgrade wheel \
# pip versions greater than 24.0 fails to install celery 4.4.0. pin pip until we are ready to upgrade celery
&& pip install pip==24.0 \
# Requirements are installed here to ensure they will be cached.
&& pip install -r /celery/requirements.txt

Expand Down
4 changes: 3 additions & 1 deletion zubhub_backend/compose/flower/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ WORKDIR /flower
# copying neccessary files to work directory
COPY ./compose/flower/requirements.txt /flower/

RUN pip install --upgrade pip wheel \
RUN pip install --upgrade wheel \
# pip versions greater than 24.0 fails to install celery 4.4.0. pin pip until we are ready to upgrade celery
&& pip install pip==24.0 \
# Requirements are installed here to ensure they will be cached.
&& pip install -r /flower/requirements.txt

Expand Down
6 changes: 4 additions & 2 deletions zubhub_backend/compose/media/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ WORKDIR /home
# copying neccessary files to work directory
COPY ./compose/media/requirements.txt /home/

RUN pip install --upgrade pip wheel \
RUN pip install --upgrade wheel \
# pip versions greater than 24.0 fails to install celery 4.4.0. pin pip until we are ready to upgrade celery
&& pip install pip==24.0 \
# Requirements are installed here to ensure they will be cached.
&& pip install -r /home/requirements.txt

Expand All @@ -40,4 +42,4 @@ COPY ./compose/docker_secrets_expand.sh /docker_secrets_expand.sh
RUN sed -i 's/\r$//g' /docker_secrets_expand.sh
RUN chmod +x /docker_secrets_expand.sh

ENTRYPOINT [ "/home/start" ]
ENTRYPOINT [ "/home/start" ]
6 changes: 4 additions & 2 deletions zubhub_backend/compose/media/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ WORKDIR /home
# copying neccessary files to work directory
COPY ./compose/media/requirements.txt /home/

RUN pip install --upgrade pip wheel \
RUN pip install --upgrade wheel \
# pip versions greater than 24.0 fails to install celery 4.4.0. pin pip until we are ready to upgrade celery
&& pip install pip==24.0 \
# Requirements are installed here to ensure they will be cached.
&& pip install -r /home/requirements.txt

Expand All @@ -39,4 +41,4 @@ COPY ./compose/docker_secrets_expand.sh /docker_secrets_expand.sh
RUN sed -i 's/\r$//g' /docker_secrets_expand.sh
RUN chmod +x /docker_secrets_expand.sh

ENTRYPOINT [ "/home/start" ]
ENTRYPOINT [ "/home/start" ]
6 changes: 4 additions & 2 deletions zubhub_backend/compose/web/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ WORKDIR /zubhub_backend
# copying neccessary files to work directory
COPY ./compose/web/requirements.txt /zubhub_backend/

RUN pip install --upgrade pip wheel \
RUN pip install --upgrade wheel \
# pip versions greater than 24.0 fails to install celery 4.4.0. pin pip until we are ready to upgrade celery
&& pip install pip==24.0 \
# Requirements are installed here to ensure they will be cached.
&& pip install -r /zubhub_backend/requirements.txt

Expand All @@ -41,4 +43,4 @@ COPY ./compose/docker_secrets_expand.sh /docker_secrets_expand.sh
RUN sed -i 's/\r$//g' /docker_secrets_expand.sh
RUN chmod +x /docker_secrets_expand.sh

ENTRYPOINT [ "/zubhub_backend/start" ]
ENTRYPOINT [ "/zubhub_backend/start" ]
6 changes: 4 additions & 2 deletions zubhub_backend/compose/web/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ WORKDIR /zubhub_backend
# copying neccessary files to work directory
COPY ./compose/web/requirements.txt /zubhub_backend/

RUN pip install --upgrade pip wheel \
RUN pip install --upgrade wheel \
# pip versions greater than 24.0 fails to install celery 4.4.0. pin pip until we are ready to upgrade celery
&& pip install pip==24.0 \
# Requirements are installed here to ensure they will be cached.
&& pip install -r /zubhub_backend/requirements.txt

Expand All @@ -40,4 +42,4 @@ COPY ./compose/docker_secrets_expand.sh /docker_secrets_expand.sh
RUN sed -i 's/\r$//g' /docker_secrets_expand.sh
RUN chmod +x /docker_secrets_expand.sh

ENTRYPOINT [ "/zubhub_backend/start" ]
ENTRYPOINT [ "/zubhub_backend/start" ]
Loading