Commit a81e6de6 authored by Mark Tyneway's avatar Mark Tyneway

docker: update all node versions to 16

node.js version 16 is currently the lts version
so this commit updates each of the dockerfiles to
use node version 16
parent 0fb44b3c
...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io ...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io
ARG BUILDER_TAG=latest ARG BUILDER_TAG=latest
FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder
FROM node:14-alpine FROM node:16-alpine
RUN apk add --no-cache curl bash jq RUN apk add --no-cache curl bash jq
......
...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io ...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io
ARG BUILDER_TAG=latest ARG BUILDER_TAG=latest
FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder
FROM node:14-alpine FROM node:16-alpine
RUN apk add --no-cache curl bash jq RUN apk add --no-cache curl bash jq
......
...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io ...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io
ARG BUILDER_TAG=latest ARG BUILDER_TAG=latest
FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder
FROM node:14-alpine FROM node:16-alpine
RUN apk add --no-cache git curl python3 bash jq RUN apk add --no-cache git curl python3 bash jq
......
...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io ...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io
ARG BUILDER_TAG=latest ARG BUILDER_TAG=latest
FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder
FROM node:14-alpine FROM node:16-alpine
RUN apk add --no-cache git curl python3 bash jq RUN apk add --no-cache git curl python3 bash jq
......
...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io ...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io
ARG BUILDER_TAG=latest ARG BUILDER_TAG=latest
FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder
FROM node:14-alpine FROM node:16-alpine
RUN apk add --no-cache curl bash jq RUN apk add --no-cache curl bash jq
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# ### BASE: Install deps # ### BASE: Install deps
# We do not use Alpine because there's a regression causing it to be very slow # We do not use Alpine because there's a regression causing it to be very slow
# when used with typescript/hardhat: https://github.com/nomiclabs/hardhat/issues/1219 # when used with typescript/hardhat: https://github.com/nomiclabs/hardhat/issues/1219
FROM node:14-buster-slim as node FROM node:16-buster-slim as node
RUN apt-get update -y && apt-get install -y git RUN apt-get update -y && apt-get install -y git
# Pre-download the compilers so that they do not need to be downloaded inside # Pre-download the compilers so that they do not need to be downloaded inside
...@@ -37,7 +37,7 @@ COPY integration-tests/package.json ./integration-tests/package.json ...@@ -37,7 +37,7 @@ COPY integration-tests/package.json ./integration-tests/package.json
RUN yarn install --frozen-lockfile RUN yarn install --frozen-lockfile
### BUILDER: Builds the typescript ### BUILDER: Builds the typescript
FROM node FROM node:16
WORKDIR /optimism WORKDIR /optimism
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# ### BASE: Install deps # ### BASE: Install deps
# We do not use Alpine because there's a regression causing it to be very slow # We do not use Alpine because there's a regression causing it to be very slow
# when used with typescript/hardhat: https://github.com/nomiclabs/hardhat/issues/1219 # when used with typescript/hardhat: https://github.com/nomiclabs/hardhat/issues/1219
FROM node:14.18.1-buster-slim as base FROM node:16.13-buster-slim as base
RUN apt-get update -y && apt-get install -y git curl jq python3 RUN apt-get update -y && apt-get install -y git curl jq python3
......
...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io ...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io
ARG BUILDER_TAG=latest ARG BUILDER_TAG=latest
FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder
FROM node:14-alpine FROM node:16-alpine
RUN apk add --no-cache curl bash jq RUN apk add --no-cache curl bash jq
......
...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io ...@@ -2,7 +2,7 @@ ARG LOCAL_REGISTRY=docker.io
ARG BUILDER_TAG=latest ARG BUILDER_TAG=latest
FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder FROM ${LOCAL_REGISTRY}/ethereumoptimism/builder:${BUILDER_TAG} AS builder
FROM node:14-alpine FROM node:16-alpine
WORKDIR /opt/optimism WORKDIR /opt/optimism
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment