diff --git a/.github/workflows/ci-e2e.yml b/.github/workflows/ci-e2e.yml deleted file mode 100644 index b68c6fcbe0cb..000000000000 --- a/.github/workflows/ci-e2e.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: E2E CLI - -on: [pull_request] - -jobs: - ci: - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest] - node_version: [14] - - name: ${{ matrix.os }} / Node ${{ matrix.node_version }} - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2 - - name: Use Node ${{ matrix.node_version }} - uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # tag=v2.5.1 - with: - node-version: ${{ matrix.node_version }} - - name: Install - run: yarn install - - name: Build - run: yarn code:build - - name: Test CLI - run: yarn test:e2e:cli diff --git a/Dockerfile b/Dockerfile index 6aa34863ca62..b1846fd52ac0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM:-linux/amd64} node:14.20.1-alpine as builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} node:18.12.0-alpine as builder ENV NODE_ENV=production \ VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org \ @@ -9,22 +9,23 @@ ENV NODE_ENV=production \ RUN apk --no-cache add openssl ca-certificates wget && \ apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python3 && \ wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \ - wget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-2.25-r0.apk && \ - apk add glibc-2.25-r0.apk + wget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.29-r0/glibc-2.29-r0.apk && \ + apk add glibc-2.29-r0.apk WORKDIR /opt/verdaccio-build COPY . . RUN yarn config set npmRegistryServer $VERDACCIO_BUILD_REGISTRY && \ yarn config set enableProgressBars true && \ - yarn config set enableTelemetry true && \ + yarn config set enableTelemetry false && \ yarn config set enableGlobalCache false && \ - yarn install && \ + yarn config set enableScripts false && \ + yarn install --immutable && \ yarn code:docker-build && \ yarn cache clean && \ yarn workspaces focus --production -FROM node:14.20.1-alpine +FROM node:18.12.0-alpine LABEL maintainer="https://github.com/verdaccio/verdaccio" ENV VERDACCIO_APPDIR=/opt/verdaccio \