Skip to content

Commit

Permalink
Dockerfiles: Update base images to node:16.15-bullseye-slim
Browse files Browse the repository at this point in the history
node:16.13.1-slim uses an older version of GLIBC not compatible with the
precompiled native binaries
  • Loading branch information
fordN committed May 26, 2022
1 parent 0e25cf5 commit ef0e434
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.indexer-agent
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
########################################################################
# Build image

FROM node:16.13.1-slim as build
FROM node:16.15-bullseye-slim as build

ENV NODE_ENV production

Expand Down Expand Up @@ -29,7 +29,7 @@ RUN yarn --frozen-lockfile --non-interactive --production=false
########################################################################
# Runtime image

FROM node:16.13.1-slim
FROM node:16.15-bullseye-slim

ENV NODE_ENV production
# When simulating large transactions, sometimes indexer-agent runs out of memory.
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.indexer-cli
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
########################################################################
# Build image

FROM node:16.13.1-slim as build
FROM node:16.15-bullseye-slim as build

ENV NODE_ENV production

Expand Down Expand Up @@ -30,7 +30,7 @@ RUN yarn --frozen-lockfile --non-interactive --production=false
########################################################################
# Runtime image

FROM node:16.13.1-slim
FROM node:16.15-bullseye-slim

ENV NODE_ENV production

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.indexer-service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
########################################################################
# Build image

FROM node:16.13.1-slim as build
FROM node:16.15-bullseye-slim as build

ENV NODE_ENV production

Expand Down Expand Up @@ -30,7 +30,7 @@ RUN yarn --frozen-lockfile --non-interactive --production=false
########################################################################
# Runtime image

FROM node:16.13.1-slim
FROM node:16.15-bullseye-slim

ENV NODE_ENV production

Expand Down
1 change: 1 addition & 0 deletions packages/indexer-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"morgan": "1.10.0",
"ngeohash": "0.6.3",
"p-filter": "2.1.0",
"p-reduce": "2.1.0",
"p-retry": "4.6.1",
"p-timeout": "4.1.0",
"sequelize": "6.18.0",
Expand Down

0 comments on commit ef0e434

Please sign in to comment.