8000 fix: upgrade docker file base image to v20.12.1 (#4576) · verdaccio/verdaccio@513b10d · GitHub
[go: up one dir, main page]

Skip to content

Commit 513b10d

Browse files
authored
fix: upgrade docker file base image to v20.12.1 (#4576)
* fix: upgrade docker file base image to v20.12.1 * Update smok-test-module.yml * Update .npmignore
1 parent 6868fdb commit 513b10d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/smok-test-module.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
12-
- name: Use Node (latest)
12+
- name: Use Node
1313
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
1414
with:
15-
node-version-file: '.nvmrc'
15+
node-version: 21
1616
- name: Docker test
1717
run: |
1818
docker run -d -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio:5
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
source scripts/e2e-setup-ci.sh
3636
npm init --force
37-
npm install jest --registry http://localhost:4873
37+
npm install jest@27.5.1 --registry http://localhost:4873
3838
npm install verdaccio --registry http://localhost:4873
3939
echo "test('require module should works', () => { const {runServer} = require('verdaccio') });" | tee module.spec.js
4040
cat module.spec.js

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ src/
1212
/.*
1313
.vscode/
1414
.circleci/
15-
debug/
1615
docker-examples/
1716
reports/
1817
## assets and website

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:20.11.1-alpine as builder
1+
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:20.12.1-alpine as builder
22

33
ENV NODE_ENV=production \
44
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org \
@@ -30,7 +30,7 @@ RUN yarn pack --out verdaccio.tgz \
3030
## clean up and reduce bundle size
3131
RUN rm -Rf /opt/verdaccio-build
3232

33-
FROM node:20.11.1-alpine
33+
FROM node:20.12.1-alpine
3434
LABEL maintainer="https://github.com/verdaccio/verdaccio"
3535

3636
ENV VERDACCIO_APPDIR=/opt/verdaccio \

0 commit comments

Comments
 (0)
0