Skip to content

Commit

Permalink
Merge pull request #905 from InfuseAI/chore/sc-32404/chore-update-pip…
Browse files Browse the repository at this point in the history
…erider-version-in-the-dockerfile

[Chore] Update piperider version in dockerfile
  • Loading branch information
wcchang1115 authored Oct 19, 2023
2 parents 15a3aaf + 04b61bf commit 32eb32e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3.9-slim
ARG PIPERIDER_VERSION=0.3.0
ARG PIPERIDER_VERSION

RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand All @@ -10,7 +10,11 @@ RUN apt-get update && \
# Install yq@4
RUN curl -L https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -o /bin/yq && chmod +x /bin/yq

RUN pip install --no-cache-dir piperider==${PIPERIDER_VERSION}
RUN if [ -n "$PIPERIDER_VERSION" ]; then \
pip install --no-cache-dir piperider==${PIPERIDER_VERSION}; \
else \
pip install --no-cache-dir piperider; \
fi

WORKDIR /usr/src/github/

Expand Down

0 comments on commit 32eb32e

Please sign in to comment.