Skip to content
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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/s
COPY ./scripts/install_deps.sh ./scripts/install_deps.sh
RUN ./scripts/install_deps.sh

RUN npm install pnpm --global
# Keep in sync with packageManager in package.json
ARG PNPM_VERSION=9.15.0
RUN npm install pnpm@${PNPM_VERSION} --global

# We need the codefresh CLI for triggering pipelines
RUN npm install codefresh@0.81.5 --global
Expand Down
3 changes: 3 additions & 0 deletions app.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ ARG BASE_IMAGE_TAG=v2
FROM lifecycleoss/app-base:${BASE_IMAGE_TAG} AS packages

ARG PORT
# Keep in sync with packageManager in package.json
ARG PNPM_VERSION=9.15.0

ENV PORT=$PORT

WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN npm install pnpm@${PNPM_VERSION} --global
RUN pnpm install --frozen-lockfile

FROM packages
Expand Down
4 changes: 3 additions & 1 deletion base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin/kubectl

RUN npm install pnpm --global
# Keep in sync with packageManager in package.json
ARG PNPM_VERSION=9.15.0
RUN npm install pnpm@${PNPM_VERSION} --global

RUN npm install codefresh@0.81.5 --global

Expand Down
Loading