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

fix: install latest corepack globally #240

Merged
merged 7 commits into from
Feb 8, 2025
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions dockerfiles/node-app-pnpm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN apk update && \
cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \
echo "Asia/Tokyo" > /etc/timezone && \
apk del tzdata && \
npm install -g corepack@latest && \
corepack enable

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/puppeteer-pnpm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apk upgrade --no-cache --available && \
cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \
echo "Asia/Tokyo" > /etc/timezone && \
apk del tzdata && \
npm install -g corepack && \
npm install -g corepack@latest && \
corepack enable

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/puppeteer-virtual-display-pnpm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apk upgrade --no-cache --available && \
cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \
echo "Asia/Tokyo" > /etc/timezone && \
apk del tzdata && \
npm install -g corepack && \
npm install -g corepack@latest && \
corepack enable

WORKDIR /app
Expand Down
9 changes: 6 additions & 3 deletions dockerfiles/tests/node-app-pnpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
"scripts": {
"start": "tsx ./src/main.ts"
},
"dependencies": {
"tsx": "4.1.3"
},
"devDependencies": {
"@types/node": "18.11.15",
"tsx": "4.1.3",
"typescript": "4.9.4"
}
}
},
"packageManager": "[email protected]+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
}
Loading
Loading