Skip to content

Commit

Permalink
Fix: upgrade the nginx to 1.23 and fix CVE-2022-2068 (#588)
Browse files Browse the repository at this point in the history
Signed-off-by: barnettZQG <[email protected]>
(cherry picked from commit 5f9f671)

Co-authored-by: barnettZQG <[email protected]>
  • Loading branch information
github-actions[bot] and barnettZQG authored Jul 19, 2022
1 parent a6e4424 commit e335b3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV VERSION=${VERSION}
RUN apk add --no-cache git && yarn install && yarn build
RUN rm -rf /app/velaux/build/mock

FROM nginx:1.21
FROM nginx:1.23
ARG GITVERSION
COPY --from=builder /app/velaux/build /usr/share/nginx/html
COPY web.conf /etc/nginx/nginx.conf
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:1.21
FROM nginx:1.23

COPY build /usr/share/nginx/html
COPY web.conf /etc/nginx/nginx.conf
Expand Down

0 comments on commit e335b3a

Please sign in to comment.