Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Base image version, so that installing curl 8.5 with apk is po… #2

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:1.17.10-alpine
FROM nginx:1.21-alpine

EXPOSE 8000
CMD ["/sbin/entrypoint.sh"]
Expand Down Expand Up @@ -54,6 +54,8 @@ RUN apk add --no-cache --update \
wget sqlite git curl bash grep \
supervisor

# upgrade curl to address CVE-2023-38545 and liburl as dependency
RUN apk upgrade --no-cache --update -U libcurl curl
# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log && \
Expand Down
Loading