Skip to content

Commit d3cb96f

Browse files
committed
Install newer sed in frontend container
This fixes the an issue in the inject config script that was stopping any content from being rendered. See: backstage/backstage#24507
1 parent 6627f1c commit d3cb96f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

backstage/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ COPY plugins/viewdocs-react/package.json plugins/viewdocs-react/package.json
1919
ENV CYPRESS_INSTALL_BINARY=0
2020
RUN --mount=type=cache,target=/root/.cache/yarn,sharing=locked \
2121
yarn global add node-gyp \
22-
&& yarn install --frozen-lockfile
22+
&& yarn install --frozen-lockfile
2323

2424
COPY ./ ./
2525

2626
RUN yarn run tsc
2727

28-
RUN yarn --cwd packages/app build
29-
RUN yarn --cwd packages/backend build
28+
RUN yarn --cwd packages/app build
29+
RUN yarn --cwd packages/backend build
3030

3131
RUN mkdir packages/backend/dist/skeleton packages/backend/dist/bundle \
3232
&& tar xzf packages/backend/dist/skeleton.tar.gz -C packages/backend/dist/skeleton \
@@ -36,7 +36,7 @@ FROM docker.io/library/nginx:1.27.3-alpine-slim as frontend
3636

3737
WORKDIR /app
3838

39-
RUN apk add --no-cache jq
39+
RUN apk add --no-cache jq sed
4040

4141
COPY --from=build /app/packages/app/dist /usr/share/nginx/html
4242
COPY --chmod=700 container_utils/inject-config.sh /docker-entrypoint.d/40-inject-config.sh

0 commit comments

Comments
 (0)