Skip to content

Commit

Permalink
Use offline mode only for the build step
Browse files Browse the repository at this point in the history
  • Loading branch information
raducristianpopa committed Aug 29, 2023
1 parent 024c693 commit 3ea267b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion localenv/local-http-signatures/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ RUN pnpm clean
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm install \
--recursive \
--offline \
--frozen-lockfile \
--prod \
| grep -v "cross-device link not permitted\|Falling back to copying packages from store"
Expand Down
2 changes: 0 additions & 2 deletions localenv/mock-account-servicing-entity/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ RUN apk add --no-cache \
g++

COPY pnpm-lock.yaml ./

RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm fetch \
| grep -v "cross-device link not permitted\|Falling back to copying packages from store"
Expand All @@ -24,7 +23,6 @@ RUN pnpm clean
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm install \
--recursive \
--offline \
--frozen-lockfile \
--prod \
| grep -v "cross-device link not permitted\|Falling back to copying packages from store"
Expand Down
1 change: 0 additions & 1 deletion packages/auth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ RUN pnpm clean
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm install \
--recursive \
--offline \
--frozen-lockfile \
--prod \
| grep -v "cross-device link not permitted\|Falling back to copying packages from store"
Expand Down
1 change: 0 additions & 1 deletion packages/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ RUN pnpm clean
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm install \
--recursive \
--offline \
--frozen-lockfile \
--prod \
| grep -v "cross-device link not permitted\|Falling back to copying packages from store"
Expand Down
1 change: 0 additions & 1 deletion packages/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ RUN pnpm clean
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm install \
--recursive \
--offline \
--frozen-lockfile \
--prod \
| grep -v "cross-device link not permitted\|Falling back to copying packages from store"
Expand Down

0 comments on commit 3ea267b

Please sign in to comment.