Skip to content

Commit

Permalink
[YUNIKORN-300] update nginx image (apache#43)
Browse files Browse the repository at this point in the history
Security scans have shown known vulnerabilities in the alpine and nginx
version we use to generate the web docker image.
Updating to the latest stable version.

Fixes: apache#43
  • Loading branch information
wilfred-s committed Jul 22, 2020
1 parent 3c4b87c commit 3ccb4e4
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 @@ -31,7 +31,7 @@ RUN yarn install
RUN yarn build:prod

# Stage 2
FROM nginx:1.15.8-alpine
FROM nginx:1.18.0-alpine

COPY --from=buildstage /usr/uiapp/dist/yunikorn-web /usr/share/nginx/html

Expand Down
2 changes: 1 addition & 1 deletion nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:1.15.8-alpine
FROM nginx:1.18.0-alpine

COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf

Expand Down

0 comments on commit 3ccb4e4

Please sign in to comment.