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

build: ⬆️ update node to 18 in ci dockerfile #2151

Closed
wants to merge 2 commits into from
Closed
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
8 changes: 4 additions & 4 deletions dockerfiles/Dockerfile.browser
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# CI test image for unit/lint/type tests
FROM node:14-alpine as browser-feature-builder
FROM node:18-alpine as browser-feature-builder

RUN apk add --update bash python3 make gcc g++ musl-dev xvfb-run

WORKDIR /app

COPY package*.json ./
RUN npm install
COPY package*.json .npmrc ./
RUN npm ci

COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./
ADD min_packages.tar .
COPY bin ./bin
COPY packages ./packages
RUN npx lerna bootstrap
RUN npm run bootstrap
RUN npm run build

RUN npm pack --verbose packages/js/
Expand Down
6 changes: 3 additions & 3 deletions dockerfiles/Dockerfile.ci
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# CI test image for unit/lint/type tests
FROM node:14-alpine
FROM node:18-alpine

RUN apk add --update bash python3 make gcc g++ musl-dev xvfb-run

WORKDIR /app

COPY package*.json ./
COPY package*.json .npmrc ./
RUN npm install --unsafe-perm

COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./
Expand All @@ -14,5 +14,5 @@ COPY bin ./bin
COPY scripts ./scripts
COPY test ./test
COPY packages ./packages
RUN npx lerna bootstrap
RUN npm run bootstrap
RUN npm run build
8 changes: 4 additions & 4 deletions dockerfiles/Dockerfile.node
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# CI test image for unit/lint/type tests
FROM node:14-alpine as node-feature-builder
FROM node:18-alpine as node-feature-builder

RUN apk add --update bash python3 make gcc g++ musl-dev xvfb-run

WORKDIR /app

COPY package*.json ./
RUN npm install
COPY package*.json .npmrc ./
RUN npm ci

COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./
ADD min_packages.tar .
COPY bin ./bin
COPY packages ./packages
RUN npx lerna bootstrap
RUN npm run bootstrap
RUN npm run build

RUN npm pack --verbose packages/node/
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/Dockerfile.react-native-cli-tool
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# CI test image for building the CLI
FROM node:14-alpine as react-native-cli-feature-builder
FROM node:18-alpine as react-native-cli-feature-builder

WORKDIR /app

COPY package*.json ./
RUN npm install
COPY package*.json .npmrc ./
RUN npm ci

COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./
COPY bin ./bin
COPY packages ./packages

RUN npm run bootstrap

RUN npx lerna run build --scope @bugsnag/react-native-cli
RUN npm run build:react-native-cli
RUN npm pack --verbose packages/react-native-cli/

# The maze-runner test image
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine
FROM node:18-alpine
RUN apk add --update git bash python3 make gcc g++ openssh-client curl

RUN addgroup -S admins
Expand Down
Loading
Loading