Skip to content

[db] Switch to node:18.20.7-alpine base image #20695

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

Merged
merged 1 commit into from
Mar 21, 2025
Merged
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
12 changes: 9 additions & 3 deletions components/gitpod-db/leeway.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@
# Licensed under the GNU Affero General Public License (AGPL).
# See License.AGPL.txt in the project root for license information.

FROM node:18.17.1-slim as builder
FROM node:18.20.7-alpine AS builder

# Install bash
RUN apk update && \
apk add bash && \
rm -rf /var/cache/apk/*

COPY components-gitpod-db--migrations /installer/
WORKDIR /app
RUN /installer/install.sh

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

FROM node:18.17.1-slim
FROM node:18.20.7-alpine
ENV NODE_OPTIONS=--unhandled-rejections=warn
COPY migrate.sh /app/migrate.sh
COPY migrate_gcp.sh /app/migrate_gcp.sh
Expand Down
Loading