Skip to content

Commit 81a13fb

Browse files
authored
[db] Switch to node:18.20.7-alpine base image (#20695)
Tool: gitpod/catfood.gitpod.cloud
1 parent 313610d commit 81a13fb

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

components/gitpod-db/leeway.Dockerfile

+9-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@
22
# Licensed under the GNU Affero General Public License (AGPL).
33
# See License.AGPL.txt in the project root for license information.
44

5-
FROM node:18.17.1-slim as builder
5+
FROM node:18.20.7-alpine AS builder
6+
7+
# Install bash
8+
RUN apk update && \
9+
apk add bash && \
10+
rm -rf /var/cache/apk/*
11+
612
COPY components-gitpod-db--migrations /installer/
713
WORKDIR /app
814
RUN /installer/install.sh
915

10-
FROM node:18.17.1 as proxy
16+
FROM node:18.20.7-alpine as proxy
1117
RUN wget https://storage.googleapis.com/cloudsql-proxy/v1.23.0/cloud_sql_proxy.linux.amd64 -O /bin/cloud_sql_proxy \
1218
&& chmod +x /bin/cloud_sql_proxy
1319

14-
FROM node:18.17.1-slim
20+
FROM node:18.20.7-alpine
1521
ENV NODE_OPTIONS=--unhandled-rejections=warn
1622
COPY migrate.sh /app/migrate.sh
1723
COPY migrate_gcp.sh /app/migrate_gcp.sh

0 commit comments

Comments
 (0)