Skip to content

Commit a07031f

Browse files
authored
Merge pull request #38 from TIBCOSoftware/1.6.0
Version 1.6.0 related changes and released 1.6.0
2 parents 0ef5482 + f6169a4 commit a07031f

File tree

113 files changed

+8298
-14931
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+8298
-14931
lines changed

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2023-2025. Cloud Software Group, Inc. All Rights Reserved. Confidential & Proprietary
3+
*/
4+
15
module.exports = {
26
root: true,
37
};

Dockerfile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ RUN --mount=type=cache,target=/home/nonroot/.cache/pip,uid=65532,gid=65532 \
99
/home/nonroot/venv/bin/pip install setuptools
1010

1111
# Stage 1 - Create yarn install skeleton layer
12-
FROM cgr.dev/chainguard/wolfi-base@sha256:7afaeb1ffbc9c33c21b9ddbd96a80140df1a5fa95aed6411b210bcb404e75c11 AS packages
12+
FROM cgr.dev/chainguard/wolfi-base@sha256:7afaeb1ffbc9c33c21b9ddbd96a80140df1a5fa95aed6411b210bcb404e75c11 as packages
1313

1414
WORKDIR /app
1515
COPY package.json yarn.lock ./
1616
COPY .yarn ./.yarn
1717
COPY .yarnrc.yml ./
18-
18+
COPY backstage.json ./
1919

2020
COPY packages packages
2121

@@ -44,7 +44,8 @@ USER nonroot
4444

4545
COPY --from=packages --chown=65532:65532 /app .
4646
COPY --from=packages --chown=65532:65532 /app/.yarn ./.yarn
47-
COPY --from=packages --chown=65532:65532 /app/.yarnrc.yml ./
47+
COPY --from=packages --chown=65532:65532 /app/.yarnrc.yml ./
48+
COPY --from=packages --chown=65532:65532 /app/backstage.json ./
4849

4950
RUN --mount=type=cache,target=/home/nonroot/.yarn/berry/cache,sharing=locked,uid=65532,gid=65532 \
5051
yarn install --immutable
@@ -61,7 +62,8 @@ RUN mkdir packages/backend/dist/skeleton packages/backend/dist/bundle \
6162

6263
FROM cgr.dev/chainguard/wolfi-base@sha256:7afaeb1ffbc9c33c21b9ddbd96a80140df1a5fa95aed6411b210bcb404e75c11 as node-builder
6364

64-
ENV NODE_VERSION="18=~18.20"
65+
ENV NODE_VERSION="20=~20.11"
66+
ENV NODE_ENV=production
6567

6668
RUN --mount=type=cache,target=/var/cache/apk,sharing=locked,uid=65532,gid=65532 \
6769
--mount=type=cache,target=/var/lib/apk,sharing=locked,uid=65532,gid=65532 \
@@ -78,7 +80,8 @@ RUN mkdir -p /home/nonroot/.yarn/berry && chown -R 65532:65532 /home/nonroot/.ya
7880
USER nonroot
7981

8082
COPY --from=build --chown=65532:65532 /app/.yarn ./.yarn
81-
COPY --from=build --chown=65532:65532 /app/.yarnrc.yml ./
83+
COPY --from=build --chown=65532:65532 /app/.yarnrc.yml ./
84+
COPY --from=build --chown=65532:65532 /app/backstage.json ./
8285

8386
COPY --from=build --chown=65532:65532 /app/yarn.lock /app/package.json /app/packages/backend/dist/skeleton/ ./
8487

@@ -88,7 +91,7 @@ RUN --mount=type=cache,target=/home/nonroot/.yarn/berry/cache,sharing=locked,uid
8891
FROM --platform=linux/amd64 cgr.dev/chainguard/wolfi-base@sha256:7afaeb1ffbc9c33c21b9ddbd96a80140df1a5fa95aed6411b210bcb404e75c11
8992

9093
ENV PYTHON_VERSION="3.12=~3.12"
91-
ENV NODE_VERSION="18=~18.20"
94+
ENV NODE_VERSION="20=~20.19"
9295
ENV NODE_ENV=production
9396

9497
RUN --mount=type=cache,target=/var/cache/apk,sharing=locked,uid=65532,gid=65532 \
@@ -116,7 +119,8 @@ COPY --from=build --chown=65532:65532 /app/packages/backend/dist/bundle/ ./
116119
COPY --from=node-builder --chown=65532:65532 /app/node_modules ./node_modules
117120
COPY --from=python-builder --chown=65532:65532 /home/nonroot/venv /home/nonroot/venv
118121
ENV PATH=/home/nonroot/venv/bin:$PATH
119-
122+
# This disables node snapshot for Node 20 to work with the Scaffolder
123+
ENV NODE_OPTIONS="--no-node-snapshot"
120124
ENV GIT_PYTHON_REFRESH="quiet"
121125

122126
ENTRYPOINT ["tini", "--"]

0 commit comments

Comments
 (0)