Skip to content

Commit 1d30a11

Browse files
committed
Fix curl commands in Dockerfile to use -L flag for redirects
1 parent b24b3c2 commit 1d30a11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ RUN apt-get update -y && \
2626

2727
RUN mkdir schemas
2828
RUN chown node:node schemas
29-
RUN curl https://www.schemastore.org/github-action.json -o schemas/actions.json
30-
RUN curl https://www.schemastore.org/github-workflow.json -o schemas/workflows.json
29+
RUN curl -L https://www.schemastore.org/github-action.json -o schemas/actions.json
30+
RUN curl -L https://www.schemastore.org/github-workflow.json -o schemas/workflows.json
3131
RUN chmod +x ./entrypoint.sh
3232

3333
FROM base AS builder

0 commit comments

Comments
 (0)